From 9ad795f0ea74212f475eb630d00e60180c9612f7 Mon Sep 17 00:00:00 2001 From: 1SooNoo1 Date: Sun, 25 Feb 2024 15:06:43 +0400 Subject: [PATCH] =?UTF-8?q?=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=B8=D0=BC=D1=8F=20=D1=84=D0=BE=D1=80=D0=BC=D1=8B=20=D0=B8=20?= =?UTF-8?q?=D0=BF=D0=BE=D1=84=D0=B8=D0=BA=D1=81=D0=B8=D0=BB=20=D1=82=D1=80?= =?UTF-8?q?=D0=B0=D0=B1=D0=BB=D1=8B=20=D1=81=20=D0=BC=D0=B5=D1=82=D0=B0?= =?UTF-8?q?=D0=B4=D0=B0=D0=BD=D0=BD=D1=8B=D0=BC=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SnackBarView/FormSnack.Designer.cs | 66 ++++++++++++++++++------------ 1 file changed, 39 insertions(+), 27 deletions(-) diff --git a/SnackBarView/FormSnack.Designer.cs b/SnackBarView/FormSnack.Designer.cs index 4aa9535..eb8f56c 100644 --- a/SnackBarView/FormSnack.Designer.cs +++ b/SnackBarView/FormSnack.Designer.cs @@ -50,33 +50,35 @@ // labelName // labelName.AutoSize = true; - labelName.Location = new Point(12, 9); + labelName.Location = new Point(10, 7); labelName.Name = "labelName"; - labelName.Size = new Size(80, 20); + labelName.Size = new Size(62, 15); labelName.TabIndex = 0; labelName.Text = "Название:"; // // labelPrice // labelPrice.AutoSize = true; - labelPrice.Location = new Point(12, 56); + labelPrice.Location = new Point(10, 42); labelPrice.Name = "labelPrice"; - labelPrice.Size = new Size(86, 20); + labelPrice.Size = new Size(70, 15); labelPrice.TabIndex = 1; labelPrice.Text = "Стоимость:"; // // textBoxName // - textBoxName.Location = new Point(98, 6); + textBoxName.Location = new Point(86, 4); + textBoxName.Margin = new Padding(3, 2, 3, 2); textBoxName.Name = "textBoxName"; - textBoxName.Size = new Size(298, 27); + textBoxName.Size = new Size(261, 23); textBoxName.TabIndex = 2; // // textBoxPrice // - textBoxPrice.Location = new Point(98, 53); + textBoxPrice.Location = new Point(86, 40); + textBoxPrice.Margin = new Padding(3, 2, 3, 2); textBoxPrice.Name = "textBoxPrice"; - textBoxPrice.Size = new Size(190, 27); + textBoxPrice.Size = new Size(167, 23); textBoxPrice.TabIndex = 3; // // groupBoxComponents @@ -86,18 +88,21 @@ groupBoxComponents.Controls.Add(buttonEdit); groupBoxComponents.Controls.Add(buttonAdd); groupBoxComponents.Controls.Add(dataGridView); - groupBoxComponents.Location = new Point(12, 86); + groupBoxComponents.Location = new Point(10, 64); + groupBoxComponents.Margin = new Padding(3, 2, 3, 2); groupBoxComponents.Name = "groupBoxComponents"; - groupBoxComponents.Size = new Size(776, 351); + groupBoxComponents.Padding = new Padding(3, 2, 3, 2); + groupBoxComponents.Size = new Size(679, 263); groupBoxComponents.TabIndex = 4; groupBoxComponents.TabStop = false; groupBoxComponents.Text = "Компоненты"; // // buttonUpd // - buttonUpd.Location = new Point(622, 205); + buttonUpd.Location = new Point(544, 154); + buttonUpd.Margin = new Padding(3, 2, 3, 2); buttonUpd.Name = "buttonUpd"; - buttonUpd.Size = new Size(118, 36); + buttonUpd.Size = new Size(103, 27); buttonUpd.TabIndex = 4; buttonUpd.Text = "Обновить"; buttonUpd.UseVisualStyleBackColor = true; @@ -105,9 +110,10 @@ // // buttonDel // - buttonDel.Location = new Point(622, 151); + buttonDel.Location = new Point(544, 113); + buttonDel.Margin = new Padding(3, 2, 3, 2); buttonDel.Name = "buttonDel"; - buttonDel.Size = new Size(118, 36); + buttonDel.Size = new Size(103, 27); buttonDel.TabIndex = 3; buttonDel.Text = "Удалить"; buttonDel.UseVisualStyleBackColor = true; @@ -115,9 +121,10 @@ // // buttonEdit // - buttonEdit.Location = new Point(622, 98); + buttonEdit.Location = new Point(544, 74); + buttonEdit.Margin = new Padding(3, 2, 3, 2); buttonEdit.Name = "buttonEdit"; - buttonEdit.Size = new Size(118, 36); + buttonEdit.Size = new Size(103, 27); buttonEdit.TabIndex = 2; buttonEdit.Text = "Изменить"; buttonEdit.UseVisualStyleBackColor = true; @@ -125,9 +132,10 @@ // // buttonAdd // - buttonAdd.Location = new Point(622, 41); + buttonAdd.Location = new Point(544, 31); + buttonAdd.Margin = new Padding(3, 2, 3, 2); buttonAdd.Name = "buttonAdd"; - buttonAdd.Size = new Size(118, 36); + buttonAdd.Size = new Size(103, 27); buttonAdd.TabIndex = 1; buttonAdd.Text = "Добавить"; buttonAdd.UseVisualStyleBackColor = true; @@ -140,12 +148,13 @@ dataGridView.BackgroundColor = SystemColors.ControlLightLight; dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; dataGridView.Columns.AddRange(new DataGridViewColumn[] { Columnid, ColumnName, ColumnCount }); - dataGridView.Location = new Point(6, 26); + dataGridView.Location = new Point(5, 20); + dataGridView.Margin = new Padding(3, 2, 3, 2); dataGridView.Name = "dataGridView"; dataGridView.ReadOnly = true; dataGridView.RowHeadersWidth = 51; dataGridView.RowTemplate.Height = 29; - dataGridView.Size = new Size(568, 319); + dataGridView.Size = new Size(497, 239); dataGridView.TabIndex = 0; // // Columnid @@ -174,9 +183,10 @@ // // buttonSave // - buttonSave.Location = new Point(546, 443); + buttonSave.Location = new Point(478, 332); + buttonSave.Margin = new Padding(3, 2, 3, 2); buttonSave.Name = "buttonSave"; - buttonSave.Size = new Size(118, 36); + buttonSave.Size = new Size(103, 27); buttonSave.TabIndex = 5; buttonSave.Text = "Сохранить"; buttonSave.UseVisualStyleBackColor = true; @@ -184,9 +194,10 @@ // // buttonCancel // - buttonCancel.Location = new Point(670, 443); + buttonCancel.Location = new Point(586, 332); + buttonCancel.Margin = new Padding(3, 2, 3, 2); buttonCancel.Name = "buttonCancel"; - buttonCancel.Size = new Size(118, 36); + buttonCancel.Size = new Size(103, 27); buttonCancel.TabIndex = 6; buttonCancel.Text = "Отмена"; buttonCancel.UseVisualStyleBackColor = true; @@ -194,9 +205,9 @@ // // FormSnack // - AutoScaleDimensions = new SizeF(8F, 20F); + AutoScaleDimensions = new SizeF(7F, 15F); AutoScaleMode = AutoScaleMode.Font; - ClientSize = new Size(800, 491); + ClientSize = new Size(700, 368); Controls.Add(buttonCancel); Controls.Add(buttonSave); Controls.Add(groupBoxComponents); @@ -204,8 +215,9 @@ Controls.Add(textBoxName); Controls.Add(labelPrice); Controls.Add(labelName); + Margin = new Padding(3, 2, 3, 2); Name = "FormSnack"; - Text = "FormSnack"; + Text = "Закуски"; Load += FormSnack_Load; groupBoxComponents.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();