From 16cb8fe33f02b6339590c2d259fc5c27b07882c1 Mon Sep 17 00:00:00 2001 From: Pyro <732603@gmail.com> Date: Fri, 29 Nov 2024 07:12:19 +0400 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=B0=D0=BD=D1=8B=20=D1=84=D0=BE=D1=80=D0=BC=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Forms/FormClient.Designer.cs | 2 + .../Forms/FormClients.Designer.cs | 4 + .../Forms/FormClients.resx | 4 +- .../Forms/FormComponent.Designer.cs | 2 + .../Forms/FormOrder.Designer.cs | 78 ++++++++++++++++--- .../Forms/FormOrder.cs | 38 +++++++-- .../Forms/FormOrder.resx | 16 +++- .../Forms/FormOrders.Designer.cs | 4 + .../Forms/FormOrders.resx | 4 +- .../Forms/FormProduct.Designer.cs | 63 +++++++++++++-- .../Forms/FormProduct.cs | 30 ++++++- .../Forms/FormProduct.resx | 6 ++ .../Forms/FormProducts.Designer.cs | 3 + .../Forms/FormProducts.resx | 4 +- .../Forms/FormSupplier.Designer.cs | 2 + .../Forms/FormSuppliers.Designer.cs | 4 + .../Forms/FormSuppliers.resx | 4 +- .../Forms/FormSupply.Designer.cs | 2 + .../Forms/FormSupply.cs | 2 +- .../Forms/FormSupplys.Designer.cs | 4 + .../Forms/FormSupplys.resx | 4 +- 21 files changed, 240 insertions(+), 40 deletions(-) diff --git a/ProjectConfectionaryFactory/ProjectConfectionaryFactory/Forms/FormClient.Designer.cs b/ProjectConfectionaryFactory/ProjectConfectionaryFactory/Forms/FormClient.Designer.cs index db53746..fe11243 100644 --- a/ProjectConfectionaryFactory/ProjectConfectionaryFactory/Forms/FormClient.Designer.cs +++ b/ProjectConfectionaryFactory/ProjectConfectionaryFactory/Forms/FormClient.Designer.cs @@ -42,6 +42,7 @@ // // buttonCancel // + buttonCancel.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; buttonCancel.Location = new Point(297, 216); buttonCancel.Name = "buttonCancel"; buttonCancel.Size = new Size(75, 23); @@ -52,6 +53,7 @@ // // buttonSave // + buttonSave.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; buttonSave.Location = new Point(216, 216); buttonSave.Name = "buttonSave"; buttonSave.Size = new Size(75, 23); diff --git a/ProjectConfectionaryFactory/ProjectConfectionaryFactory/Forms/FormClients.Designer.cs b/ProjectConfectionaryFactory/ProjectConfectionaryFactory/Forms/FormClients.Designer.cs index 16b9ef2..1610bc9 100644 --- a/ProjectConfectionaryFactory/ProjectConfectionaryFactory/Forms/FormClients.Designer.cs +++ b/ProjectConfectionaryFactory/ProjectConfectionaryFactory/Forms/FormClients.Designer.cs @@ -64,6 +64,7 @@ buttonUpdate.Size = new Size(65, 65); buttonUpdate.TabIndex = 1; buttonUpdate.UseVisualStyleBackColor = true; + buttonUpdate.Click += ButtonUpdate_Click; // // buttonDelete // @@ -74,6 +75,7 @@ buttonDelete.Size = new Size(65, 65); buttonDelete.TabIndex = 1; buttonDelete.UseVisualStyleBackColor = true; + buttonDelete.Click += ButtonDelete_Click; // // buttonAdd // @@ -84,6 +86,7 @@ buttonAdd.Size = new Size(65, 65); buttonAdd.TabIndex = 0; buttonAdd.UseVisualStyleBackColor = true; + buttonAdd.Click += ButtonAdd_Click; // // panel1 // @@ -106,6 +109,7 @@ Name = "FormClients"; StartPosition = FormStartPosition.CenterParent; Text = "Клиенты"; + Load += FormClients_Load; ((System.ComponentModel.ISupportInitialize)dataGridViewData).EndInit(); panel1.ResumeLayout(false); ResumeLayout(false); diff --git a/ProjectConfectionaryFactory/ProjectConfectionaryFactory/Forms/FormClients.resx b/ProjectConfectionaryFactory/ProjectConfectionaryFactory/Forms/FormClients.resx index 8b2ff64..af32865 100644 --- a/ProjectConfectionaryFactory/ProjectConfectionaryFactory/Forms/FormClients.resx +++ b/ProjectConfectionaryFactory/ProjectConfectionaryFactory/Forms/FormClients.resx @@ -1,7 +1,7 @@