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