From 3f78fd1d7736930657e67df13f7d087ea7c8b393 Mon Sep 17 00:00:00 2001 From: malimova Date: Sat, 4 May 2024 00:26:52 +0400 Subject: [PATCH] =?UTF-8?q?=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=D0=B0=20=D1=84=D0=BE=D1=80=D0=BC=D0=BE=D1=87=D0=BA=D1=83?= =?UTF-8?q?=20=D0=BD=D0=B0=D0=B4=D0=B5=D1=8E=D1=81=D1=8C=20=D1=81=D0=B4?= =?UTF-8?q?=D0=B0=D0=BC!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ConfectioneryView/FormClients.Designer.cs | 117 +++++++++--------- Confectionery/ConfectioneryView/Program.cs | 7 +- 2 files changed, 64 insertions(+), 60 deletions(-) diff --git a/Confectionery/ConfectioneryView/FormClients.Designer.cs b/Confectionery/ConfectioneryView/FormClients.Designer.cs index 4ecb4f9..0f2f492 100644 --- a/Confectionery/ConfectioneryView/FormClients.Designer.cs +++ b/Confectionery/ConfectioneryView/FormClients.Designer.cs @@ -20,67 +20,68 @@ base.Dispose(disposing); } - #region Windows Form Designer generated code + #region Windows Form Designer generated code - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - dataGridView = new DataGridView(); - buttonDelete = new Button(); - buttonRefresh = new Button(); - ((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit(); - SuspendLayout(); - // - // dataGridView - // - dataGridView.BackgroundColor = Color.AliceBlue; - dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; - dataGridView.Location = new Point(0, 1); - dataGridView.Name = "dataGridView"; - dataGridView.RowHeadersWidth = 62; - dataGridView.Size = new Size(738, 450); - dataGridView.TabIndex = 0; - // - // buttonDelete - // - buttonDelete.Location = new Point(771, 93); - buttonDelete.Name = "buttonDelete"; - buttonDelete.Size = new Size(133, 49); - buttonDelete.TabIndex = 1; - buttonDelete.Text = "Удалить"; - buttonDelete.UseVisualStyleBackColor = true; - buttonDelete.Click += buttonDelete_Click; - // - // buttonRefresh - // - buttonRefresh.Location = new Point(771, 183); - buttonRefresh.Name = "buttonRefresh"; - buttonRefresh.Size = new Size(133, 49); - buttonRefresh.TabIndex = 2; - buttonRefresh.Text = "Обновить"; - buttonRefresh.UseVisualStyleBackColor = true; - buttonRefresh.Click += buttonRefresh_Click; - // - // FormClients - // - AutoScaleDimensions = new SizeF(10F, 25F); - AutoScaleMode = AutoScaleMode.Font; - ClientSize = new Size(938, 450); - Controls.Add(buttonRefresh); - Controls.Add(buttonDelete); - Controls.Add(dataGridView); - Name = "FormClients"; - Text = "Список клиентов"; - ((System.ComponentModel.ISupportInitialize)dataGridView).EndInit(); - ResumeLayout(false); - } + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + dataGridView = new DataGridView(); + buttonDelete = new Button(); + buttonRefresh = new Button(); + ((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit(); + SuspendLayout(); + // + // dataGridView + // + dataGridView.BackgroundColor = Color.AliceBlue; + dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; + dataGridView.Location = new Point(0, 1); + dataGridView.Name = "dataGridView"; + dataGridView.RowHeadersWidth = 62; + dataGridView.Size = new Size(738, 450); + dataGridView.TabIndex = 0; + // + // buttonDelete + // + buttonDelete.Location = new Point(771, 93); + buttonDelete.Name = "buttonDelete"; + buttonDelete.Size = new Size(133, 49); + buttonDelete.TabIndex = 1; + buttonDelete.Text = "Удалить"; + buttonDelete.UseVisualStyleBackColor = true; + buttonDelete.Click += buttonDelete_Click; + // + // buttonRefresh + // + buttonRefresh.Location = new Point(771, 183); + buttonRefresh.Name = "buttonRefresh"; + buttonRefresh.Size = new Size(133, 49); + buttonRefresh.TabIndex = 2; + buttonRefresh.Text = "Обновить"; + buttonRefresh.UseVisualStyleBackColor = true; + buttonRefresh.Click += buttonRefresh_Click; + // + // FormClients + // + AutoScaleDimensions = new SizeF(10F, 25F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(938, 450); + Controls.Add(buttonRefresh); + Controls.Add(buttonDelete); + Controls.Add(dataGridView); + Name = "FormClients"; + Text = "Список клиентов"; + Load += FormClients_Load; + ((System.ComponentModel.ISupportInitialize)dataGridView).EndInit(); + ResumeLayout(false); + } - #endregion + #endregion - private DataGridView dataGridView; + private DataGridView dataGridView; private Button buttonDelete; private Button buttonRefresh; } diff --git a/Confectionery/ConfectioneryView/Program.cs b/Confectionery/ConfectioneryView/Program.cs index 50617db..84c333b 100644 --- a/Confectionery/ConfectioneryView/Program.cs +++ b/Confectionery/ConfectioneryView/Program.cs @@ -37,7 +37,9 @@ namespace ConfectioneryView services.AddTransient(); services.AddTransient(); services.AddTransient(); - services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); services.AddTransient(); services.AddTransient(); services.AddTransient(); @@ -53,6 +55,7 @@ namespace ConfectioneryView services.AddTransient(); services.AddTransient(); services.AddTransient(); - } + services.AddTransient(); + } } } \ No newline at end of file