226 lines
9.6 KiB
C#
226 lines
9.6 KiB
C#
namespace SushiBar
|
|
{
|
|
partial class FormSushi
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.labelName = new System.Windows.Forms.Label();
|
|
this.textBoxName = new System.Windows.Forms.TextBox();
|
|
this.labelCost = new System.Windows.Forms.Label();
|
|
this.textBoxPrice = new System.Windows.Forms.TextBox();
|
|
this.groupBox = new System.Windows.Forms.GroupBox();
|
|
this.buttonReload = new System.Windows.Forms.Button();
|
|
this.buttonRemove = new System.Windows.Forms.Button();
|
|
this.buttonEdit = new System.Windows.Forms.Button();
|
|
this.buttonAdd = new System.Windows.Forms.Button();
|
|
this.dataGridView = new System.Windows.Forms.DataGridView();
|
|
this.buttonCancel = new System.Windows.Forms.Button();
|
|
this.buttonSave = new System.Windows.Forms.Button();
|
|
this.ID = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Component = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Value = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.groupBox.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// labelName
|
|
//
|
|
this.labelName.AutoSize = true;
|
|
this.labelName.Location = new System.Drawing.Point(12, 9);
|
|
this.labelName.Name = "labelName";
|
|
this.labelName.Size = new System.Drawing.Size(39, 15);
|
|
this.labelName.TabIndex = 0;
|
|
this.labelName.Text = "Name";
|
|
//
|
|
// textBoxName
|
|
//
|
|
this.textBoxName.Location = new System.Drawing.Point(57, 6);
|
|
this.textBoxName.Name = "textBoxName";
|
|
this.textBoxName.Size = new System.Drawing.Size(589, 23);
|
|
this.textBoxName.TabIndex = 1;
|
|
//
|
|
// labelCost
|
|
//
|
|
this.labelCost.AutoSize = true;
|
|
this.labelCost.Location = new System.Drawing.Point(12, 41);
|
|
this.labelCost.Name = "labelCost";
|
|
this.labelCost.Size = new System.Drawing.Size(33, 15);
|
|
this.labelCost.TabIndex = 2;
|
|
this.labelCost.Text = "Price";
|
|
//
|
|
// textBoxPrice
|
|
//
|
|
this.textBoxPrice.Location = new System.Drawing.Point(57, 38);
|
|
this.textBoxPrice.Name = "textBoxPrice";
|
|
this.textBoxPrice.Size = new System.Drawing.Size(589, 23);
|
|
this.textBoxPrice.TabIndex = 3;
|
|
//
|
|
// groupBox
|
|
//
|
|
this.groupBox.Controls.Add(this.buttonReload);
|
|
this.groupBox.Controls.Add(this.buttonRemove);
|
|
this.groupBox.Controls.Add(this.buttonEdit);
|
|
this.groupBox.Controls.Add(this.buttonAdd);
|
|
this.groupBox.Controls.Add(this.dataGridView);
|
|
this.groupBox.Location = new System.Drawing.Point(15, 67);
|
|
this.groupBox.Name = "groupBox";
|
|
this.groupBox.Size = new System.Drawing.Size(773, 343);
|
|
this.groupBox.TabIndex = 4;
|
|
this.groupBox.TabStop = false;
|
|
this.groupBox.Text = "Components";
|
|
//
|
|
// buttonReload
|
|
//
|
|
this.buttonReload.Location = new System.Drawing.Point(637, 109);
|
|
this.buttonReload.Name = "buttonReload";
|
|
this.buttonReload.Size = new System.Drawing.Size(130, 23);
|
|
this.buttonReload.TabIndex = 4;
|
|
this.buttonReload.Text = "Reload";
|
|
this.buttonReload.UseVisualStyleBackColor = true;
|
|
this.buttonReload.Click += new System.EventHandler(this.ButtonReload_Click);
|
|
//
|
|
// buttonRemove
|
|
//
|
|
this.buttonRemove.Location = new System.Drawing.Point(637, 80);
|
|
this.buttonRemove.Name = "buttonRemove";
|
|
this.buttonRemove.Size = new System.Drawing.Size(130, 23);
|
|
this.buttonRemove.TabIndex = 3;
|
|
this.buttonRemove.Text = "Remove";
|
|
this.buttonRemove.UseVisualStyleBackColor = true;
|
|
this.buttonRemove.Click += new System.EventHandler(this.ButtonRemove_Click);
|
|
//
|
|
// buttonEdit
|
|
//
|
|
this.buttonEdit.Location = new System.Drawing.Point(637, 51);
|
|
this.buttonEdit.Name = "buttonEdit";
|
|
this.buttonEdit.Size = new System.Drawing.Size(130, 23);
|
|
this.buttonEdit.TabIndex = 2;
|
|
this.buttonEdit.Text = "Edit";
|
|
this.buttonEdit.UseVisualStyleBackColor = true;
|
|
this.buttonEdit.Click += new System.EventHandler(this.ButtonEdit_Click);
|
|
//
|
|
// buttonAdd
|
|
//
|
|
this.buttonAdd.Location = new System.Drawing.Point(637, 22);
|
|
this.buttonAdd.Name = "buttonAdd";
|
|
this.buttonAdd.Size = new System.Drawing.Size(130, 23);
|
|
this.buttonAdd.TabIndex = 1;
|
|
this.buttonAdd.Text = "Add";
|
|
this.buttonAdd.UseVisualStyleBackColor = true;
|
|
this.buttonAdd.Click += new System.EventHandler(this.ButtonAdd_Click);
|
|
//
|
|
// dataGridView
|
|
//
|
|
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.ID,
|
|
this.Component,
|
|
this.Value});
|
|
this.dataGridView.Location = new System.Drawing.Point(6, 22);
|
|
this.dataGridView.Name = "dataGridView";
|
|
this.dataGridView.RowTemplate.Height = 25;
|
|
this.dataGridView.Size = new System.Drawing.Size(625, 315);
|
|
this.dataGridView.TabIndex = 0;
|
|
//
|
|
// buttonCancel
|
|
//
|
|
this.buttonCancel.Location = new System.Drawing.Point(658, 415);
|
|
this.buttonCancel.Name = "buttonCancel";
|
|
this.buttonCancel.Size = new System.Drawing.Size(130, 23);
|
|
this.buttonCancel.TabIndex = 5;
|
|
this.buttonCancel.Text = "Cancel";
|
|
this.buttonCancel.UseVisualStyleBackColor = true;
|
|
this.buttonCancel.Click += new System.EventHandler(this.ButtonCancel_Click);
|
|
//
|
|
// buttonSave
|
|
//
|
|
this.buttonSave.Location = new System.Drawing.Point(522, 415);
|
|
this.buttonSave.Name = "buttonSave";
|
|
this.buttonSave.Size = new System.Drawing.Size(130, 23);
|
|
this.buttonSave.TabIndex = 6;
|
|
this.buttonSave.Text = "Save";
|
|
this.buttonSave.UseVisualStyleBackColor = true;
|
|
this.buttonSave.Click += new System.EventHandler(this.ButtonSave_Click);
|
|
//
|
|
// ID
|
|
//
|
|
this.ID.HeaderText = "Id";
|
|
this.ID.Name = "ID";
|
|
this.ID.Visible = false;
|
|
//
|
|
// Component
|
|
//
|
|
this.Component.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.Component.HeaderText = "ComponentName";
|
|
this.Component.Name = "Component";
|
|
//
|
|
// Value
|
|
//
|
|
this.Value.HeaderText = "Count";
|
|
this.Value.Name = "Value";
|
|
//
|
|
// FormSushi
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(800, 450);
|
|
this.Controls.Add(this.buttonSave);
|
|
this.Controls.Add(this.buttonCancel);
|
|
this.Controls.Add(this.groupBox);
|
|
this.Controls.Add(this.textBoxPrice);
|
|
this.Controls.Add(this.labelCost);
|
|
this.Controls.Add(this.textBoxName);
|
|
this.Controls.Add(this.labelName);
|
|
this.Name = "FormSushi";
|
|
this.Text = "FormSushi";
|
|
this.Load += new System.EventHandler(this.FormSushi_Load);
|
|
this.groupBox.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label labelName;
|
|
private TextBox textBoxName;
|
|
private Label labelCost;
|
|
private TextBox textBoxPrice;
|
|
private GroupBox groupBox;
|
|
private Button buttonReload;
|
|
private Button buttonRemove;
|
|
private Button buttonEdit;
|
|
private Button buttonAdd;
|
|
private DataGridView dataGridView;
|
|
private Button buttonCancel;
|
|
private Button buttonSave;
|
|
private DataGridViewTextBoxColumn ID;
|
|
private DataGridViewTextBoxColumn Component;
|
|
private DataGridViewTextBoxColumn Value;
|
|
}
|
|
} |