Начало

This commit is contained in:
Allllen4a 2024-02-10 11:13:05 +04:00
parent a4b5895b16
commit 44d979f39f
13 changed files with 111 additions and 268 deletions

View File

@ -1,39 +0,0 @@
namespace PizzeriaView
{
partial class Form1
{
/// <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.components = new System.ComponentModel.Container();
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Text = "Form1";
}
#endregion
}
}

View File

@ -1,10 +0,0 @@
namespace PizzeriaView
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
}
}

View File

@ -1,120 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -47,7 +47,7 @@
//
textBoxCost.Location = new Point(124, 92);
textBoxCost.Name = "textBoxCost";
textBoxCost.Size = new Size(132, 31);
textBoxCost.Size = new Size(182, 31);
textBoxCost.TabIndex = 1;
//
// labelName
@ -82,7 +82,7 @@
//
buttonCancel.Location = new Point(257, 155);
buttonCancel.Name = "buttonCancel";
buttonCancel.Size = new Size(100, 47);
buttonCancel.Size = new Size(106, 47);
buttonCancel.TabIndex = 5;
buttonCancel.Text = "Отмена";
buttonCancel.UseVisualStyleBackColor = true;
@ -92,7 +92,7 @@
//
AutoScaleDimensions = new SizeF(10F, 25F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(469, 214);
ClientSize = new Size(465, 214);
Controls.Add(buttonCancel);
Controls.Add(buttonSave);
Controls.Add(labelCost);

View File

@ -40,6 +40,7 @@
//
// comboBoxPizza
//
comboBoxPizza.DropDownStyle = ComboBoxStyle.DropDownList;
comboBoxPizza.FormattingEnabled = true;
comboBoxPizza.Location = new Point(166, 25);
comboBoxPizza.Name = "comboBoxPizza";
@ -50,7 +51,7 @@
//
textBoxCount.Location = new Point(166, 71);
textBoxCount.Name = "textBoxCount";
textBoxCount.Size = new Size(199, 31);
textBoxCount.Size = new Size(274, 31);
textBoxCount.TabIndex = 1;
textBoxCount.TextChanged += textBoxCount_TextChanged;
//
@ -58,15 +59,16 @@
//
textBoxSum.Location = new Point(166, 120);
textBoxSum.Name = "textBoxSum";
textBoxSum.Size = new Size(239, 31);
textBoxSum.ReadOnly = true;
textBoxSum.Size = new Size(274, 31);
textBoxSum.TabIndex = 2;
textBoxSum.TextChanged += textBoxSum_TextChanged;
//
// buttonSave
//
buttonSave.Location = new Point(192, 208);
buttonSave.Location = new Point(166, 208);
buttonSave.Name = "buttonSave";
buttonSave.Size = new Size(88, 46);
buttonSave.Size = new Size(114, 46);
buttonSave.TabIndex = 3;
buttonSave.Text = "Сохранить";
buttonSave.UseVisualStyleBackColor = true;
@ -74,9 +76,9 @@
//
// buttonCancel
//
buttonCancel.Location = new Point(313, 211);
buttonCancel.Location = new Point(313, 208);
buttonCancel.Name = "buttonCancel";
buttonCancel.Size = new Size(153, 40);
buttonCancel.Size = new Size(153, 46);
buttonCancel.TabIndex = 4;
buttonCancel.Text = "Отмена";
buttonCancel.UseVisualStyleBackColor = true;
@ -123,7 +125,7 @@
Controls.Add(textBoxCount);
Controls.Add(comboBoxPizza);
Name = "FormCreateOrder";
Text = "FormCreateOrder";
Text = "Заказ";
Load += FormCreateOrder_Load;
ResumeLayout(false);
PerformLayout();

View File

@ -44,61 +44,62 @@
//
// dataGridView
//
dataGridView.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
dataGridView.Location = new Point(0, 28);
dataGridView.Name = "dataGridView";
dataGridView.RowHeadersWidth = 62;
dataGridView.RowTemplate.Height = 33;
dataGridView.Size = new Size(548, 410);
dataGridView.Size = new Size(1389, 492);
dataGridView.TabIndex = 1;
//
// buttonCreateOrder
//
buttonCreateOrder.Location = new Point(607, 49);
buttonCreateOrder.Location = new Point(1413, 58);
buttonCreateOrder.Name = "buttonCreateOrder";
buttonCreateOrder.Size = new Size(166, 33);
buttonCreateOrder.Size = new Size(207, 33);
buttonCreateOrder.TabIndex = 2;
buttonCreateOrder.Text = "button1";
buttonCreateOrder.Text = "Создать заказ";
buttonCreateOrder.UseVisualStyleBackColor = true;
buttonCreateOrder.Click += buttonCreateOrder_Click;
//
// buttonTakeOrderInWork
//
buttonTakeOrderInWork.Location = new Point(607, 112);
buttonTakeOrderInWork.Location = new Point(1413, 115);
buttonTakeOrderInWork.Name = "buttonTakeOrderInWork";
buttonTakeOrderInWork.Size = new Size(166, 33);
buttonTakeOrderInWork.Size = new Size(207, 33);
buttonTakeOrderInWork.TabIndex = 3;
buttonTakeOrderInWork.Text = "button2";
buttonTakeOrderInWork.Text = "Отдать на выполнение";
buttonTakeOrderInWork.UseVisualStyleBackColor = true;
buttonTakeOrderInWork.Click += buttonTakeOrderInWork_Click;
//
// buttonOrderReady
//
buttonOrderReady.Location = new Point(607, 174);
buttonOrderReady.Location = new Point(1413, 179);
buttonOrderReady.Name = "buttonOrderReady";
buttonOrderReady.Size = new Size(166, 33);
buttonOrderReady.Size = new Size(207, 33);
buttonOrderReady.TabIndex = 4;
buttonOrderReady.Text = "button3";
buttonOrderReady.Text = "Заказ готов";
buttonOrderReady.UseVisualStyleBackColor = true;
buttonOrderReady.Click += buttonOrderReady_Click;
//
// buttonIssuedOrder
//
buttonIssuedOrder.Location = new Point(607, 249);
buttonIssuedOrder.Location = new Point(1413, 251);
buttonIssuedOrder.Name = "buttonIssuedOrder";
buttonIssuedOrder.Size = new Size(166, 33);
buttonIssuedOrder.Size = new Size(207, 33);
buttonIssuedOrder.TabIndex = 5;
buttonIssuedOrder.Text = "button4";
buttonIssuedOrder.Text = "Заказ выдан";
buttonIssuedOrder.UseVisualStyleBackColor = true;
buttonIssuedOrder.Click += buttonIssuedOrder_Click;
//
// buttonRef
//
buttonRef.Location = new Point(607, 324);
buttonRef.Location = new Point(1413, 313);
buttonRef.Name = "buttonRef";
buttonRef.Size = new Size(166, 33);
buttonRef.Size = new Size(207, 33);
buttonRef.TabIndex = 6;
buttonRef.Text = "button5";
buttonRef.Text = "Обновить список";
buttonRef.UseVisualStyleBackColor = true;
buttonRef.Click += buttonRef_Click;
//
@ -108,7 +109,7 @@
bookToolStripMenuItem.Items.AddRange(new ToolStripItem[] { справочникToolStripMenuItem });
bookToolStripMenuItem.Location = new Point(0, 0);
bookToolStripMenuItem.Name = "bookToolStripMenuItem";
bookToolStripMenuItem.Size = new Size(800, 33);
bookToolStripMenuItem.Size = new Size(1641, 33);
bookToolStripMenuItem.TabIndex = 7;
bookToolStripMenuItem.Text = "menuStrip1";
//
@ -137,7 +138,7 @@
//
AutoScaleDimensions = new SizeF(10F, 25F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(800, 450);
ClientSize = new Size(1641, 532);
Controls.Add(buttonRef);
Controls.Add(buttonIssuedOrder);
Controls.Add(buttonOrderReady);
@ -147,7 +148,7 @@
Controls.Add(bookToolStripMenuItem);
MainMenuStrip = bookToolStripMenuItem;
Name = "FormMain";
Text = "Form1";
Text = "Пиццерия";
Load += FormMain_Load;
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
bookToolStripMenuItem.ResumeLayout(false);

View File

@ -1,8 +1,6 @@
using Microsoft.Extensions.Logging;
using PizzeriaView;
using PizzeriaContracts.BindingModels;
using PizzeriaContracts.BusinessLogicsContracts;
using System.Windows.Forms;
namespace PizzeriaView
{
@ -18,16 +16,6 @@ namespace PizzeriaView
_orderLogic = orderLogic;
}
private void buttonCreateOrder_Click(object sender, EventArgs e)
{
var service = Program.ServiceProvider?.GetService(typeof(FormCreateOrder));
if (service is FormCreateOrder form)
{
form.ShowDialog();
}
}
private void FormMain_Load(object sender, EventArgs e)
{
LoadData();
@ -72,6 +60,16 @@ namespace PizzeriaView
}
}
private void buttonCreateOrder_Click(object sender, EventArgs e)
{
var service = Program.ServiceProvider?.GetService(typeof(FormCreateOrder));
if (service is FormCreateOrder form)
{
form.ShowDialog();
LoadData();
}
}
private void buttonTakeOrderInWork_Click(object sender, EventArgs e)
{
if (dataGridView.SelectedRows.Count == 1)

View File

@ -120,4 +120,7 @@
<metadata name="bookToolStripMenuItem.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>25</value>
</metadata>
</root>

View File

@ -33,28 +33,28 @@
labelName = new Label();
labelCost = new Label();
dataGridView = new DataGridView();
ColumnId = new DataGridViewTextBoxColumn();
ColumnComponent = new DataGridViewTextBoxColumn();
ColumnCount = new DataGridViewTextBoxColumn();
buttonAdd = new Button();
buttonEdit = new Button();
buttonDelete = new Button();
buttonUpdate = new Button();
buttonSave = new Button();
buttonCancel = new Button();
ColumnId = new DataGridViewTextBoxColumn();
ColumnComponent = new DataGridViewTextBoxColumn();
ColumnCount = new DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
SuspendLayout();
//
// textBoxName
//
textBoxName.Location = new Point(244, 23);
textBoxName.Location = new Point(116, 23);
textBoxName.Name = "textBoxName";
textBoxName.Size = new Size(265, 31);
textBoxName.TabIndex = 0;
//
// textBoxPrice
//
textBoxPrice.Location = new Point(244, 70);
textBoxPrice.Location = new Point(116, 67);
textBoxPrice.Name = "textBoxPrice";
textBoxPrice.Size = new Size(259, 31);
textBoxPrice.TabIndex = 1;
@ -62,7 +62,7 @@
// labelName
//
labelName.AutoSize = true;
labelName.Location = new Point(148, 29);
labelName.Location = new Point(12, 23);
labelName.Name = "labelName";
labelName.Size = new Size(90, 25);
labelName.TabIndex = 2;
@ -71,7 +71,7 @@
// labelCost
//
labelCost.AutoSize = true;
labelCost.Location = new Point(148, 89);
labelCost.Location = new Point(12, 70);
labelCost.Name = "labelCost";
labelCost.Size = new Size(53, 25);
labelCost.TabIndex = 3;
@ -81,6 +81,7 @@
//
dataGridView.AllowUserToAddRows = false;
dataGridView.AllowUserToDeleteRows = false;
dataGridView.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
dataGridView.Columns.AddRange(new DataGridViewColumn[] { ColumnId, ColumnComponent, ColumnCount });
dataGridView.Location = new Point(12, 117);
@ -91,36 +92,11 @@
dataGridView.Size = new Size(497, 335);
dataGridView.TabIndex = 4;
//
// ColumnId
//
ColumnId.HeaderText = "Id";
ColumnId.MinimumWidth = 8;
ColumnId.Name = "ColumnId";
ColumnId.ReadOnly = true;
ColumnId.Visible = false;
ColumnId.Width = 150;
//
// ColumnComponent
//
ColumnComponent.HeaderText = "Компонент";
ColumnComponent.MinimumWidth = 6;
ColumnComponent.Name = "ColumnComponent";
ColumnComponent.ReadOnly = true;
ColumnComponent.Width = 150;
//
// ColumnCount
//
ColumnCount.HeaderText = "Количество";
ColumnCount.MinimumWidth = 8;
ColumnCount.Name = "ColumnCount";
ColumnCount.ReadOnly = true;
ColumnCount.Width = 150;
//
// buttonAdd
//
buttonAdd.Location = new Point(601, 132);
buttonAdd.Location = new Point(587, 117);
buttonAdd.Name = "buttonAdd";
buttonAdd.Size = new Size(133, 52);
buttonAdd.Size = new Size(160, 52);
buttonAdd.TabIndex = 5;
buttonAdd.Text = "Добавить";
buttonAdd.UseVisualStyleBackColor = true;
@ -128,9 +104,9 @@
//
// buttonEdit
//
buttonEdit.Location = new Point(600, 219);
buttonEdit.Location = new Point(587, 198);
buttonEdit.Name = "buttonEdit";
buttonEdit.Size = new Size(133, 30);
buttonEdit.Size = new Size(160, 51);
buttonEdit.TabIndex = 6;
buttonEdit.Text = "Изменить";
buttonEdit.UseVisualStyleBackColor = true;
@ -138,9 +114,9 @@
//
// buttonDelete
//
buttonDelete.Location = new Point(603, 280);
buttonDelete.Location = new Point(587, 278);
buttonDelete.Name = "buttonDelete";
buttonDelete.Size = new Size(126, 36);
buttonDelete.Size = new Size(160, 51);
buttonDelete.TabIndex = 7;
buttonDelete.Text = "Удалить";
buttonDelete.UseVisualStyleBackColor = true;
@ -148,9 +124,9 @@
//
// buttonUpdate
//
buttonUpdate.Location = new Point(611, 355);
buttonUpdate.Location = new Point(587, 358);
buttonUpdate.Name = "buttonUpdate";
buttonUpdate.Size = new Size(126, 42);
buttonUpdate.Size = new Size(160, 46);
buttonUpdate.TabIndex = 8;
buttonUpdate.Text = "Обновить";
buttonUpdate.UseVisualStyleBackColor = true;
@ -158,9 +134,9 @@
//
// buttonSave
//
buttonSave.Location = new Point(524, 411);
buttonSave.Location = new Point(534, 453);
buttonSave.Name = "buttonSave";
buttonSave.Size = new Size(74, 27);
buttonSave.Size = new Size(115, 49);
buttonSave.TabIndex = 9;
buttonSave.Text = "Сохранить";
buttonSave.UseVisualStyleBackColor = true;
@ -168,19 +144,41 @@
//
// buttonCancel
//
buttonCancel.Location = new Point(648, 414);
buttonCancel.Location = new Point(655, 453);
buttonCancel.Name = "buttonCancel";
buttonCancel.Size = new Size(105, 28);
buttonCancel.Size = new Size(105, 49);
buttonCancel.TabIndex = 10;
buttonCancel.Text = "Отмена";
buttonCancel.UseVisualStyleBackColor = true;
buttonCancel.Click += buttonCancel_Click;
//
// ColumnId
//
ColumnId.HeaderText = "Id";
ColumnId.MinimumWidth = 8;
ColumnId.Name = "ColumnId";
ColumnId.ReadOnly = true;
ColumnId.Visible = false;
//
// ColumnComponent
//
ColumnComponent.HeaderText = "Ингредиент";
ColumnComponent.MinimumWidth = 6;
ColumnComponent.Name = "ColumnComponent";
ColumnComponent.ReadOnly = true;
//
// ColumnCount
//
ColumnCount.HeaderText = "Количество";
ColumnCount.MinimumWidth = 8;
ColumnCount.Name = "ColumnCount";
ColumnCount.ReadOnly = true;
//
// FormPizza
//
AutoScaleDimensions = new SizeF(10F, 25F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(800, 450);
ClientSize = new Size(800, 533);
Controls.Add(buttonCancel);
Controls.Add(buttonSave);
Controls.Add(buttonUpdate);
@ -193,7 +191,7 @@
Controls.Add(textBoxPrice);
Controls.Add(textBoxName);
Name = "FormPizza";
Text = "FormPizza";
Text = "Пицца";
Load += FormPizza_Load;
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
ResumeLayout(false);

View File

@ -126,4 +126,13 @@
<metadata name="ColumnCount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ColumnId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ColumnComponent.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ColumnCount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>

View File

@ -54,20 +54,20 @@
// labelComponent
//
labelComponent.AutoSize = true;
labelComponent.Location = new Point(38, 35);
labelComponent.Location = new Point(12, 35);
labelComponent.Name = "labelComponent";
labelComponent.Size = new Size(59, 25);
labelComponent.Size = new Size(108, 25);
labelComponent.TabIndex = 2;
labelComponent.Text = "label1";
labelComponent.Text = "Ингредиент";
//
// labelCount
//
labelCount.AutoSize = true;
labelCount.Location = new Point(38, 91);
labelCount.Location = new Point(12, 91);
labelCount.Name = "labelCount";
labelCount.Size = new Size(59, 25);
labelCount.Size = new Size(107, 25);
labelCount.TabIndex = 3;
labelCount.Text = "label2";
labelCount.Text = "Количество";
//
// buttonSave
//

View File

@ -52,7 +52,7 @@
buttonAdd.Name = "buttonAdd";
buttonAdd.Size = new Size(202, 71);
buttonAdd.TabIndex = 1;
buttonAdd.Text = "button1";
buttonAdd.Text = "Добавить";
buttonAdd.UseVisualStyleBackColor = true;
buttonAdd.Click += buttonAdd_Click;
//
@ -62,17 +62,17 @@
buttonEdit.Name = "buttonEdit";
buttonEdit.Size = new Size(202, 71);
buttonEdit.TabIndex = 2;
buttonEdit.Text = "button2";
buttonEdit.Text = "Изменить";
buttonEdit.UseVisualStyleBackColor = true;
buttonEdit.Click += buttonEdit_Click;
//
// buttonDelete
//
buttonDelete.Location = new Point(540, 217);
buttonDelete.Location = new Point(540, 231);
buttonDelete.Name = "buttonDelete";
buttonDelete.Size = new Size(202, 71);
buttonDelete.TabIndex = 3;
buttonDelete.Text = "button3";
buttonDelete.Text = "Удалить";
buttonDelete.UseVisualStyleBackColor = true;
buttonDelete.Click += buttonDelete_Click;
//
@ -82,7 +82,7 @@
buttonUpdate.Name = "buttonUpdate";
buttonUpdate.Size = new Size(202, 71);
buttonUpdate.TabIndex = 4;
buttonUpdate.Text = "button4";
buttonUpdate.Text = "Обновить";
buttonUpdate.UseVisualStyleBackColor = true;
buttonUpdate.Click += buttonUpdate_Click;
//
@ -97,7 +97,7 @@
Controls.Add(buttonAdd);
Controls.Add(dataGridView);
Name = "FormPizzas";
Text = "FormPizzas";
Text = "Пицца";
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
ResumeLayout(false);
}

View File

@ -28,6 +28,7 @@
<ItemGroup>
<ProjectReference Include="..\PizzeriaBusinessLogic\PizzeriaBusinessLogic.csproj" />
<ProjectReference Include="..\PizzeriaContracts\PizzeriaContracts.csproj" />
<ProjectReference Include="..\PizzeriaDataModels\PizzeriaDataModels.csproj" />
<ProjectReference Include="..\PizzeriaListImplement\PizzeriaListImplement.csproj" />
</ItemGroup>