9
This commit is contained in:
parent
2beed02063
commit
9b06dee03d
73
Pizzeria/Pizzeria/FormPizza.Designer.cs
generated
73
Pizzeria/Pizzeria/FormPizza.Designer.cs
generated
@ -50,43 +50,44 @@
|
||||
// textBoxPrice
|
||||
//
|
||||
textBoxPrice.Enabled = false;
|
||||
textBoxPrice.Location = new Point(99, 41);
|
||||
textBoxPrice.Location = new Point(113, 55);
|
||||
textBoxPrice.Margin = new Padding(3, 4, 3, 4);
|
||||
textBoxPrice.Name = "textBoxPrice";
|
||||
textBoxPrice.Size = new Size(233, 23);
|
||||
textBoxPrice.Size = new Size(266, 27);
|
||||
textBoxPrice.TabIndex = 5;
|
||||
//
|
||||
// textBoxName
|
||||
//
|
||||
textBoxName.Location = new Point(99, 12);
|
||||
textBoxName.Location = new Point(113, 16);
|
||||
textBoxName.Margin = new Padding(3, 4, 3, 4);
|
||||
textBoxName.Name = "textBoxName";
|
||||
textBoxName.Size = new Size(233, 23);
|
||||
textBoxName.Size = new Size(266, 27);
|
||||
textBoxName.TabIndex = 6;
|
||||
//
|
||||
// labelPrice
|
||||
//
|
||||
labelPrice.AutoSize = true;
|
||||
labelPrice.Location = new Point(11, 44);
|
||||
labelPrice.Location = new Point(13, 59);
|
||||
labelPrice.Name = "labelPrice";
|
||||
labelPrice.Size = new Size(70, 15);
|
||||
labelPrice.Size = new Size(86, 20);
|
||||
labelPrice.TabIndex = 4;
|
||||
labelPrice.Text = "Стоимость:";
|
||||
//
|
||||
// labelName
|
||||
//
|
||||
labelName.AutoSize = true;
|
||||
labelName.Location = new Point(11, 15);
|
||||
labelName.Location = new Point(13, 20);
|
||||
labelName.Name = "labelName";
|
||||
labelName.Size = new Size(62, 15);
|
||||
labelName.Size = new Size(80, 20);
|
||||
labelName.TabIndex = 3;
|
||||
labelName.Text = "Название:";
|
||||
//
|
||||
// ButtonUpd
|
||||
//
|
||||
ButtonUpd.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
||||
ButtonUpd.Location = new Point(467, 135);
|
||||
ButtonUpd.Margin = new Padding(3, 2, 3, 2);
|
||||
ButtonUpd.Location = new Point(534, 180);
|
||||
ButtonUpd.Name = "ButtonUpd";
|
||||
ButtonUpd.Size = new Size(82, 22);
|
||||
ButtonUpd.Size = new Size(94, 29);
|
||||
ButtonUpd.TabIndex = 10;
|
||||
ButtonUpd.Text = "Обновить";
|
||||
ButtonUpd.UseVisualStyleBackColor = true;
|
||||
@ -95,10 +96,9 @@
|
||||
// ButtonDel
|
||||
//
|
||||
ButtonDel.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
||||
ButtonDel.Location = new Point(467, 100);
|
||||
ButtonDel.Margin = new Padding(3, 2, 3, 2);
|
||||
ButtonDel.Location = new Point(534, 133);
|
||||
ButtonDel.Name = "ButtonDel";
|
||||
ButtonDel.Size = new Size(82, 22);
|
||||
ButtonDel.Size = new Size(94, 29);
|
||||
ButtonDel.TabIndex = 9;
|
||||
ButtonDel.Text = "Удалить";
|
||||
ButtonDel.UseVisualStyleBackColor = true;
|
||||
@ -107,10 +107,9 @@
|
||||
// ButtonRef
|
||||
//
|
||||
ButtonRef.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
||||
ButtonRef.Location = new Point(467, 62);
|
||||
ButtonRef.Margin = new Padding(3, 2, 3, 2);
|
||||
ButtonRef.Location = new Point(534, 83);
|
||||
ButtonRef.Name = "ButtonRef";
|
||||
ButtonRef.Size = new Size(82, 22);
|
||||
ButtonRef.Size = new Size(94, 29);
|
||||
ButtonRef.TabIndex = 8;
|
||||
ButtonRef.Text = "Изменить";
|
||||
ButtonRef.UseVisualStyleBackColor = true;
|
||||
@ -119,10 +118,9 @@
|
||||
// ButtonAdd
|
||||
//
|
||||
ButtonAdd.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
||||
ButtonAdd.Location = new Point(467, 27);
|
||||
ButtonAdd.Margin = new Padding(3, 2, 3, 2);
|
||||
ButtonAdd.Location = new Point(534, 36);
|
||||
ButtonAdd.Name = "ButtonAdd";
|
||||
ButtonAdd.Size = new Size(82, 22);
|
||||
ButtonAdd.Size = new Size(94, 29);
|
||||
ButtonAdd.TabIndex = 7;
|
||||
ButtonAdd.Text = "Добавить";
|
||||
ButtonAdd.UseVisualStyleBackColor = true;
|
||||
@ -135,38 +133,49 @@
|
||||
dataGridView.BackgroundColor = SystemColors.ControlLightLight;
|
||||
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
dataGridView.Columns.AddRange(new DataGridViewColumn[] { ColumnId, ColumnComponent, ColumnCount });
|
||||
dataGridView.Location = new Point(6, 22);
|
||||
dataGridView.Location = new Point(7, 29);
|
||||
dataGridView.Margin = new Padding(3, 4, 3, 4);
|
||||
dataGridView.Name = "dataGridView";
|
||||
dataGridView.ReadOnly = true;
|
||||
dataGridView.RowHeadersVisible = false;
|
||||
dataGridView.RowHeadersWidth = 51;
|
||||
dataGridView.RowTemplate.Height = 25;
|
||||
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
||||
dataGridView.Size = new Size(429, 262);
|
||||
dataGridView.Size = new Size(490, 349);
|
||||
dataGridView.TabIndex = 11;
|
||||
//
|
||||
// ColumnId
|
||||
//
|
||||
ColumnId.HeaderText = "Id";
|
||||
ColumnId.MinimumWidth = 6;
|
||||
ColumnId.Name = "ColumnId";
|
||||
ColumnId.ReadOnly = true;
|
||||
ColumnId.Visible = false;
|
||||
ColumnId.Width = 125;
|
||||
//
|
||||
// ColumnComponent
|
||||
//
|
||||
ColumnComponent.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
||||
ColumnComponent.HeaderText = "Ингредиент";
|
||||
ColumnComponent.MinimumWidth = 6;
|
||||
ColumnComponent.Name = "ColumnComponent";
|
||||
ColumnComponent.ReadOnly = true;
|
||||
//
|
||||
// ColumnCount
|
||||
//
|
||||
ColumnCount.HeaderText = "Количество";
|
||||
ColumnCount.MinimumWidth = 6;
|
||||
ColumnCount.Name = "ColumnCount";
|
||||
ColumnCount.ReadOnly = true;
|
||||
ColumnCount.Width = 125;
|
||||
//
|
||||
// buttonCancel
|
||||
//
|
||||
buttonCancel.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||||
buttonCancel.Location = new Point(486, 386);
|
||||
buttonCancel.Location = new Point(555, 515);
|
||||
buttonCancel.Margin = new Padding(3, 4, 3, 4);
|
||||
buttonCancel.Name = "buttonCancel";
|
||||
buttonCancel.Size = new Size(75, 23);
|
||||
buttonCancel.Size = new Size(86, 31);
|
||||
buttonCancel.TabIndex = 12;
|
||||
buttonCancel.Text = "Отмена";
|
||||
buttonCancel.UseVisualStyleBackColor = true;
|
||||
@ -175,9 +184,10 @@
|
||||
// buttonSave
|
||||
//
|
||||
buttonSave.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||||
buttonSave.Location = new Point(405, 386);
|
||||
buttonSave.Location = new Point(455, 515);
|
||||
buttonSave.Margin = new Padding(3, 4, 3, 4);
|
||||
buttonSave.Name = "buttonSave";
|
||||
buttonSave.Size = new Size(75, 23);
|
||||
buttonSave.Size = new Size(94, 31);
|
||||
buttonSave.TabIndex = 13;
|
||||
buttonSave.Text = "Сохранить";
|
||||
buttonSave.UseVisualStyleBackColor = true;
|
||||
@ -191,18 +201,20 @@
|
||||
groupBoxComponents.Controls.Add(ButtonRef);
|
||||
groupBoxComponents.Controls.Add(dataGridView);
|
||||
groupBoxComponents.Controls.Add(ButtonAdd);
|
||||
groupBoxComponents.Location = new Point(12, 81);
|
||||
groupBoxComponents.Location = new Point(14, 108);
|
||||
groupBoxComponents.Margin = new Padding(3, 4, 3, 4);
|
||||
groupBoxComponents.Name = "groupBoxComponents";
|
||||
groupBoxComponents.Size = new Size(579, 287);
|
||||
groupBoxComponents.Padding = new Padding(3, 4, 3, 4);
|
||||
groupBoxComponents.Size = new Size(662, 383);
|
||||
groupBoxComponents.TabIndex = 14;
|
||||
groupBoxComponents.TabStop = false;
|
||||
groupBoxComponents.Text = "Ингредиенты";
|
||||
//
|
||||
// FormPizza
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||
AutoScaleDimensions = new SizeF(8F, 20F);
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
ClientSize = new Size(612, 430);
|
||||
ClientSize = new Size(699, 573);
|
||||
Controls.Add(groupBoxComponents);
|
||||
Controls.Add(buttonCancel);
|
||||
Controls.Add(buttonSave);
|
||||
@ -210,6 +222,7 @@
|
||||
Controls.Add(textBoxName);
|
||||
Controls.Add(labelPrice);
|
||||
Controls.Add(labelName);
|
||||
Margin = new Padding(3, 4, 3, 4);
|
||||
Name = "FormPizza";
|
||||
Text = "Пицца";
|
||||
Load += FormPizza_Load;
|
||||
|
Loading…
Reference in New Issue
Block a user