всё??????
This commit is contained in:
parent
2f1866659c
commit
2f245da975
139
WinFormsApp/FormSupplier.Designer.cs
generated
139
WinFormsApp/FormSupplier.Designer.cs
generated
@ -36,70 +36,83 @@
|
||||
buttonUpdateProduct = new Button();
|
||||
buttonAddProduct = new Button();
|
||||
dataGridView = new DataGridView();
|
||||
ProductId = new DataGridViewTextBoxColumn();
|
||||
ProductName = new DataGridViewTextBoxColumn();
|
||||
ProductAmount = new DataGridViewTextBoxColumn();
|
||||
textBoxName = new TextBox();
|
||||
numericUpDownDeals = new NumericUpDown();
|
||||
label2 = new Label();
|
||||
ProductId = new DataGridViewTextBoxColumn();
|
||||
ProductName = new DataGridViewTextBoxColumn();
|
||||
ProductAmount = new DataGridViewTextBoxColumn();
|
||||
groupBox1 = new GroupBox();
|
||||
groupBoxProducts.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)numericUpDownDeals).BeginInit();
|
||||
groupBox1.SuspendLayout();
|
||||
SuspendLayout();
|
||||
//
|
||||
// buttonCancel
|
||||
//
|
||||
buttonCancel.Location = new Point(307, 83);
|
||||
buttonCancel.BackColor = Color.FromArgb(255, 192, 192);
|
||||
buttonCancel.ForeColor = SystemColors.ActiveCaptionText;
|
||||
buttonCancel.Location = new Point(321, 407);
|
||||
buttonCancel.Name = "buttonCancel";
|
||||
buttonCancel.Size = new Size(75, 23);
|
||||
buttonCancel.Size = new Size(79, 37);
|
||||
buttonCancel.TabIndex = 12;
|
||||
buttonCancel.Text = "Отмена";
|
||||
buttonCancel.UseVisualStyleBackColor = true;
|
||||
buttonCancel.UseVisualStyleBackColor = false;
|
||||
//
|
||||
// buttonSave
|
||||
//
|
||||
buttonSave.Location = new Point(307, 35);
|
||||
buttonSave.BackColor = Color.FromArgb(192, 255, 192);
|
||||
buttonSave.ForeColor = SystemColors.ActiveCaptionText;
|
||||
buttonSave.Location = new Point(211, 407);
|
||||
buttonSave.Name = "buttonSave";
|
||||
buttonSave.Size = new Size(75, 23);
|
||||
buttonSave.Size = new Size(104, 37);
|
||||
buttonSave.TabIndex = 11;
|
||||
buttonSave.Text = "Сохранить";
|
||||
buttonSave.UseVisualStyleBackColor = true;
|
||||
buttonSave.UseVisualStyleBackColor = false;
|
||||
buttonSave.Click += buttonSave_Click;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
label1.AutoSize = true;
|
||||
label1.Location = new Point(18, 18);
|
||||
label1.Location = new Point(76, 126);
|
||||
label1.Name = "label1";
|
||||
label1.Size = new Size(215, 15);
|
||||
label1.Size = new Size(276, 19);
|
||||
label1.TabIndex = 10;
|
||||
label1.Text = "Имя/название компании поставщика";
|
||||
//
|
||||
// groupBoxProducts
|
||||
//
|
||||
groupBoxProducts.BackColor = Color.Transparent;
|
||||
groupBoxProducts.Controls.Add(buttonDeleteProduct);
|
||||
groupBoxProducts.Controls.Add(buttonUpdateProduct);
|
||||
groupBoxProducts.Controls.Add(buttonAddProduct);
|
||||
groupBoxProducts.Controls.Add(dataGridView);
|
||||
groupBoxProducts.Location = new Point(12, 145);
|
||||
groupBoxProducts.Dock = DockStyle.Left;
|
||||
groupBoxProducts.Font = new Font("Segoe UI", 10F, FontStyle.Bold);
|
||||
groupBoxProducts.ForeColor = SystemColors.ButtonHighlight;
|
||||
groupBoxProducts.Location = new Point(0, 0);
|
||||
groupBoxProducts.Name = "groupBoxProducts";
|
||||
groupBoxProducts.Size = new Size(776, 288);
|
||||
groupBoxProducts.Size = new Size(388, 450);
|
||||
groupBoxProducts.TabIndex = 9;
|
||||
groupBoxProducts.TabStop = false;
|
||||
groupBoxProducts.Text = "Товары";
|
||||
//
|
||||
// buttonDeleteProduct
|
||||
//
|
||||
buttonDeleteProduct.Location = new Point(435, 132);
|
||||
buttonDeleteProduct.BackColor = Color.FromArgb(255, 192, 192);
|
||||
buttonDeleteProduct.ForeColor = SystemColors.ActiveCaptionText;
|
||||
buttonDeleteProduct.Location = new Point(12, 374);
|
||||
buttonDeleteProduct.Name = "buttonDeleteProduct";
|
||||
buttonDeleteProduct.Size = new Size(126, 49);
|
||||
buttonDeleteProduct.TabIndex = 4;
|
||||
buttonDeleteProduct.Text = "Удалить";
|
||||
buttonDeleteProduct.UseVisualStyleBackColor = true;
|
||||
buttonDeleteProduct.UseVisualStyleBackColor = false;
|
||||
//
|
||||
// buttonUpdateProduct
|
||||
//
|
||||
buttonUpdateProduct.Location = new Point(435, 77);
|
||||
buttonUpdateProduct.ForeColor = SystemColors.ActiveCaptionText;
|
||||
buttonUpdateProduct.Location = new Point(244, 348);
|
||||
buttonUpdateProduct.Name = "buttonUpdateProduct";
|
||||
buttonUpdateProduct.Size = new Size(126, 49);
|
||||
buttonUpdateProduct.TabIndex = 3;
|
||||
@ -108,23 +121,50 @@
|
||||
//
|
||||
// buttonAddProduct
|
||||
//
|
||||
buttonAddProduct.Location = new Point(435, 22);
|
||||
buttonAddProduct.BackColor = Color.FromArgb(192, 255, 192);
|
||||
buttonAddProduct.ForeColor = SystemColors.ActiveCaptionText;
|
||||
buttonAddProduct.Location = new Point(12, 319);
|
||||
buttonAddProduct.Name = "buttonAddProduct";
|
||||
buttonAddProduct.Size = new Size(126, 49);
|
||||
buttonAddProduct.TabIndex = 2;
|
||||
buttonAddProduct.Text = "Добавить";
|
||||
buttonAddProduct.UseVisualStyleBackColor = true;
|
||||
buttonAddProduct.UseVisualStyleBackColor = false;
|
||||
buttonAddProduct.Click += buttonAddProduct_Click;
|
||||
//
|
||||
// dataGridView
|
||||
//
|
||||
dataGridView.BackgroundColor = Color.AliceBlue;
|
||||
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
dataGridView.Columns.AddRange(new DataGridViewColumn[] { ProductId, ProductName, ProductAmount });
|
||||
dataGridView.Location = new Point(6, 22);
|
||||
dataGridView.Dock = DockStyle.Top;
|
||||
dataGridView.Location = new Point(3, 21);
|
||||
dataGridView.Name = "dataGridView";
|
||||
dataGridView.Size = new Size(423, 241);
|
||||
dataGridView.Size = new Size(382, 241);
|
||||
dataGridView.TabIndex = 1;
|
||||
//
|
||||
// textBoxName
|
||||
//
|
||||
textBoxName.Location = new Point(100, 158);
|
||||
textBoxName.Name = "textBoxName";
|
||||
textBoxName.Size = new Size(215, 25);
|
||||
textBoxName.TabIndex = 8;
|
||||
//
|
||||
// numericUpDownDeals
|
||||
//
|
||||
numericUpDownDeals.Location = new Point(144, 254);
|
||||
numericUpDownDeals.Name = "numericUpDownDeals";
|
||||
numericUpDownDeals.Size = new Size(120, 25);
|
||||
numericUpDownDeals.TabIndex = 13;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
label2.AutoSize = true;
|
||||
label2.Location = new Point(144, 232);
|
||||
label2.Name = "label2";
|
||||
label2.Size = new Size(111, 19);
|
||||
label2.TabIndex = 14;
|
||||
label2.Text = "Кол-во сделок";
|
||||
//
|
||||
// ProductId
|
||||
//
|
||||
ProductId.HeaderText = "Id";
|
||||
@ -134,6 +174,7 @@
|
||||
//
|
||||
// ProductName
|
||||
//
|
||||
ProductName.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
||||
ProductName.HeaderText = "Название";
|
||||
ProductName.Name = "ProductName";
|
||||
ProductName.ReadOnly = true;
|
||||
@ -144,49 +185,42 @@
|
||||
ProductAmount.Name = "ProductAmount";
|
||||
ProductAmount.ReadOnly = true;
|
||||
//
|
||||
// textBoxName
|
||||
// groupBox1
|
||||
//
|
||||
textBoxName.Location = new Point(18, 36);
|
||||
textBoxName.Name = "textBoxName";
|
||||
textBoxName.Size = new Size(215, 23);
|
||||
textBoxName.TabIndex = 8;
|
||||
//
|
||||
// numericUpDownDeals
|
||||
//
|
||||
numericUpDownDeals.Location = new Point(18, 85);
|
||||
numericUpDownDeals.Name = "numericUpDownDeals";
|
||||
numericUpDownDeals.Size = new Size(120, 23);
|
||||
numericUpDownDeals.TabIndex = 13;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
label2.AutoSize = true;
|
||||
label2.Location = new Point(18, 67);
|
||||
label2.Name = "label2";
|
||||
label2.Size = new Size(87, 15);
|
||||
label2.TabIndex = 14;
|
||||
label2.Text = "Кол-во сделок";
|
||||
groupBox1.BackColor = Color.Transparent;
|
||||
groupBox1.Controls.Add(label1);
|
||||
groupBox1.Controls.Add(buttonCancel);
|
||||
groupBox1.Controls.Add(numericUpDownDeals);
|
||||
groupBox1.Controls.Add(buttonSave);
|
||||
groupBox1.Controls.Add(label2);
|
||||
groupBox1.Controls.Add(textBoxName);
|
||||
groupBox1.Dock = DockStyle.Right;
|
||||
groupBox1.Font = new Font("Segoe UI", 10F, FontStyle.Bold);
|
||||
groupBox1.ForeColor = SystemColors.ButtonHighlight;
|
||||
groupBox1.Location = new Point(394, 0);
|
||||
groupBox1.Name = "groupBox1";
|
||||
groupBox1.Size = new Size(406, 450);
|
||||
groupBox1.TabIndex = 15;
|
||||
groupBox1.TabStop = false;
|
||||
groupBox1.Text = "Информация";
|
||||
//
|
||||
// FormSupplier
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
BackgroundImage = Properties.Resources._9AZKH1_1911594361;
|
||||
ClientSize = new Size(800, 450);
|
||||
Controls.Add(label2);
|
||||
Controls.Add(numericUpDownDeals);
|
||||
Controls.Add(buttonCancel);
|
||||
Controls.Add(buttonSave);
|
||||
Controls.Add(label1);
|
||||
Controls.Add(groupBox1);
|
||||
Controls.Add(groupBoxProducts);
|
||||
Controls.Add(textBoxName);
|
||||
Name = "FormSupplier";
|
||||
Text = "FormSupplier";
|
||||
Text = "Создание/редактирование поставщика";
|
||||
Load += FormSupplier_Load;
|
||||
groupBoxProducts.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)numericUpDownDeals).EndInit();
|
||||
groupBox1.ResumeLayout(false);
|
||||
groupBox1.PerformLayout();
|
||||
ResumeLayout(false);
|
||||
PerformLayout();
|
||||
}
|
||||
|
||||
#endregion
|
||||
@ -199,11 +233,12 @@
|
||||
private Button buttonUpdateProduct;
|
||||
private Button buttonAddProduct;
|
||||
private DataGridView dataGridView;
|
||||
private DataGridViewTextBoxColumn ProductId;
|
||||
private DataGridViewTextBoxColumn ProductName;
|
||||
private DataGridViewTextBoxColumn ProductAmount;
|
||||
private TextBox textBoxName;
|
||||
private NumericUpDown numericUpDownDeals;
|
||||
private Label label2;
|
||||
private DataGridViewTextBoxColumn ProductId;
|
||||
private DataGridViewTextBoxColumn ProductName;
|
||||
private DataGridViewTextBoxColumn ProductAmount;
|
||||
private GroupBox groupBox1;
|
||||
}
|
||||
}
|
1
WinFormsApp/FormSupplierProduct.Designer.cs
generated
1
WinFormsApp/FormSupplierProduct.Designer.cs
generated
@ -70,6 +70,7 @@
|
||||
// numericUpDownCount
|
||||
//
|
||||
numericUpDownCount.Location = new Point(87, 71);
|
||||
numericUpDownCount.Maximum = new decimal(new int[] { 100000, 0, 0, 0 });
|
||||
numericUpDownCount.Name = "numericUpDownCount";
|
||||
numericUpDownCount.Size = new Size(155, 23);
|
||||
numericUpDownCount.TabIndex = 5;
|
||||
|
Loading…
Reference in New Issue
Block a user