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