209 lines
8.1 KiB
C#
209 lines
8.1 KiB
C#
|
namespace WinFormsApp
|
|||
|
{
|
|||
|
partial class FormSupplier
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Required designer variable.
|
|||
|
/// </summary>
|
|||
|
private System.ComponentModel.IContainer components = null;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Clean up any resources being used.
|
|||
|
/// </summary>
|
|||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|||
|
protected override void Dispose(bool disposing)
|
|||
|
{
|
|||
|
if (disposing && (components != null))
|
|||
|
{
|
|||
|
components.Dispose();
|
|||
|
}
|
|||
|
base.Dispose(disposing);
|
|||
|
}
|
|||
|
|
|||
|
#region Windows Form Designer generated code
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Required method for Designer support - do not modify
|
|||
|
/// the contents of this method with the code editor.
|
|||
|
/// </summary>
|
|||
|
private void InitializeComponent()
|
|||
|
{
|
|||
|
buttonCancel = new Button();
|
|||
|
buttonSave = new Button();
|
|||
|
label1 = new Label();
|
|||
|
groupBoxProducts = new GroupBox();
|
|||
|
buttonDeleteProduct = new Button();
|
|||
|
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();
|
|||
|
groupBoxProducts.SuspendLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)numericUpDownDeals).BeginInit();
|
|||
|
SuspendLayout();
|
|||
|
//
|
|||
|
// buttonCancel
|
|||
|
//
|
|||
|
buttonCancel.Location = new Point(307, 83);
|
|||
|
buttonCancel.Name = "buttonCancel";
|
|||
|
buttonCancel.Size = new Size(75, 23);
|
|||
|
buttonCancel.TabIndex = 12;
|
|||
|
buttonCancel.Text = "Отмена";
|
|||
|
buttonCancel.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// buttonSave
|
|||
|
//
|
|||
|
buttonSave.Location = new Point(307, 35);
|
|||
|
buttonSave.Name = "buttonSave";
|
|||
|
buttonSave.Size = new Size(75, 23);
|
|||
|
buttonSave.TabIndex = 11;
|
|||
|
buttonSave.Text = "Сохранить";
|
|||
|
buttonSave.UseVisualStyleBackColor = true;
|
|||
|
buttonSave.Click += buttonSave_Click;
|
|||
|
//
|
|||
|
// label1
|
|||
|
//
|
|||
|
label1.AutoSize = true;
|
|||
|
label1.Location = new Point(18, 18);
|
|||
|
label1.Name = "label1";
|
|||
|
label1.Size = new Size(215, 15);
|
|||
|
label1.TabIndex = 10;
|
|||
|
label1.Text = "Имя/название компании поставщика";
|
|||
|
//
|
|||
|
// groupBoxProducts
|
|||
|
//
|
|||
|
groupBoxProducts.Controls.Add(buttonDeleteProduct);
|
|||
|
groupBoxProducts.Controls.Add(buttonUpdateProduct);
|
|||
|
groupBoxProducts.Controls.Add(buttonAddProduct);
|
|||
|
groupBoxProducts.Controls.Add(dataGridView);
|
|||
|
groupBoxProducts.Location = new Point(12, 145);
|
|||
|
groupBoxProducts.Name = "groupBoxProducts";
|
|||
|
groupBoxProducts.Size = new Size(776, 288);
|
|||
|
groupBoxProducts.TabIndex = 9;
|
|||
|
groupBoxProducts.TabStop = false;
|
|||
|
groupBoxProducts.Text = "Товары";
|
|||
|
//
|
|||
|
// buttonDeleteProduct
|
|||
|
//
|
|||
|
buttonDeleteProduct.Location = new Point(435, 132);
|
|||
|
buttonDeleteProduct.Name = "buttonDeleteProduct";
|
|||
|
buttonDeleteProduct.Size = new Size(126, 49);
|
|||
|
buttonDeleteProduct.TabIndex = 4;
|
|||
|
buttonDeleteProduct.Text = "Удалить";
|
|||
|
buttonDeleteProduct.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// buttonUpdateProduct
|
|||
|
//
|
|||
|
buttonUpdateProduct.Location = new Point(435, 77);
|
|||
|
buttonUpdateProduct.Name = "buttonUpdateProduct";
|
|||
|
buttonUpdateProduct.Size = new Size(126, 49);
|
|||
|
buttonUpdateProduct.TabIndex = 3;
|
|||
|
buttonUpdateProduct.Text = "Изменить";
|
|||
|
buttonUpdateProduct.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// buttonAddProduct
|
|||
|
//
|
|||
|
buttonAddProduct.Location = new Point(435, 22);
|
|||
|
buttonAddProduct.Name = "buttonAddProduct";
|
|||
|
buttonAddProduct.Size = new Size(126, 49);
|
|||
|
buttonAddProduct.TabIndex = 2;
|
|||
|
buttonAddProduct.Text = "Добавить";
|
|||
|
buttonAddProduct.UseVisualStyleBackColor = true;
|
|||
|
buttonAddProduct.Click += buttonAddProduct_Click;
|
|||
|
//
|
|||
|
// dataGridView
|
|||
|
//
|
|||
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|||
|
dataGridView.Columns.AddRange(new DataGridViewColumn[] { ProductId, ProductName, ProductAmount });
|
|||
|
dataGridView.Location = new Point(6, 22);
|
|||
|
dataGridView.Name = "dataGridView";
|
|||
|
dataGridView.Size = new Size(423, 241);
|
|||
|
dataGridView.TabIndex = 1;
|
|||
|
//
|
|||
|
// ProductId
|
|||
|
//
|
|||
|
ProductId.HeaderText = "Id";
|
|||
|
ProductId.Name = "ProductId";
|
|||
|
ProductId.ReadOnly = true;
|
|||
|
ProductId.Visible = false;
|
|||
|
//
|
|||
|
// ProductName
|
|||
|
//
|
|||
|
ProductName.HeaderText = "Название";
|
|||
|
ProductName.Name = "ProductName";
|
|||
|
ProductName.ReadOnly = true;
|
|||
|
//
|
|||
|
// ProductAmount
|
|||
|
//
|
|||
|
ProductAmount.HeaderText = "Количество";
|
|||
|
ProductAmount.Name = "ProductAmount";
|
|||
|
ProductAmount.ReadOnly = true;
|
|||
|
//
|
|||
|
// textBoxName
|
|||
|
//
|
|||
|
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 = "Кол-во сделок";
|
|||
|
//
|
|||
|
// FormSupplier
|
|||
|
//
|
|||
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|||
|
AutoScaleMode = AutoScaleMode.Font;
|
|||
|
ClientSize = new Size(800, 450);
|
|||
|
Controls.Add(label2);
|
|||
|
Controls.Add(numericUpDownDeals);
|
|||
|
Controls.Add(buttonCancel);
|
|||
|
Controls.Add(buttonSave);
|
|||
|
Controls.Add(label1);
|
|||
|
Controls.Add(groupBoxProducts);
|
|||
|
Controls.Add(textBoxName);
|
|||
|
Name = "FormSupplier";
|
|||
|
Text = "FormSupplier";
|
|||
|
Load += FormSupplier_Load;
|
|||
|
groupBoxProducts.ResumeLayout(false);
|
|||
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)numericUpDownDeals).EndInit();
|
|||
|
ResumeLayout(false);
|
|||
|
PerformLayout();
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private Button buttonCancel;
|
|||
|
private Button buttonSave;
|
|||
|
private Label label1;
|
|||
|
private GroupBox groupBoxProducts;
|
|||
|
private Button buttonDeleteProduct;
|
|||
|
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;
|
|||
|
}
|
|||
|
}
|