PIAPS_CW/WinFormsApp/FormSupplier.Designer.cs
2024-06-25 23:10:00 +04:00

244 lines
10 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();
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.BackColor = Color.FromArgb(255, 192, 192);
buttonCancel.ForeColor = SystemColors.ActiveCaptionText;
buttonCancel.Location = new Point(321, 407);
buttonCancel.Name = "buttonCancel";
buttonCancel.Size = new Size(79, 37);
buttonCancel.TabIndex = 12;
buttonCancel.Text = "Отмена";
buttonCancel.UseVisualStyleBackColor = false;
//
// buttonSave
//
buttonSave.BackColor = Color.FromArgb(192, 255, 192);
buttonSave.ForeColor = SystemColors.ActiveCaptionText;
buttonSave.Location = new Point(211, 407);
buttonSave.Name = "buttonSave";
buttonSave.Size = new Size(104, 37);
buttonSave.TabIndex = 11;
buttonSave.Text = "Сохранить";
buttonSave.UseVisualStyleBackColor = false;
buttonSave.Click += buttonSave_Click;
//
// label1
//
label1.AutoSize = true;
label1.Location = new Point(76, 126);
label1.Name = "label1";
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.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(388, 450);
groupBoxProducts.TabIndex = 9;
groupBoxProducts.TabStop = false;
groupBoxProducts.Text = "Товары";
//
// buttonDeleteProduct
//
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 = false;
//
// buttonUpdateProduct
//
buttonUpdateProduct.ForeColor = SystemColors.ActiveCaptionText;
buttonUpdateProduct.Location = new Point(244, 348);
buttonUpdateProduct.Name = "buttonUpdateProduct";
buttonUpdateProduct.Size = new Size(126, 49);
buttonUpdateProduct.TabIndex = 3;
buttonUpdateProduct.Text = "Изменить";
buttonUpdateProduct.UseVisualStyleBackColor = true;
//
// buttonAddProduct
//
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 = false;
buttonAddProduct.Click += buttonAddProduct_Click;
//
// dataGridView
//
dataGridView.BackgroundColor = Color.AliceBlue;
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
dataGridView.Columns.AddRange(new DataGridViewColumn[] { ProductId, ProductName, ProductAmount });
dataGridView.Dock = DockStyle.Top;
dataGridView.Location = new Point(3, 21);
dataGridView.Name = "dataGridView";
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";
ProductId.Name = "ProductId";
ProductId.ReadOnly = true;
ProductId.Visible = false;
//
// ProductName
//
ProductName.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
ProductName.HeaderText = "Название";
ProductName.Name = "ProductName";
ProductName.ReadOnly = true;
//
// ProductAmount
//
ProductAmount.HeaderText = "Количество";
ProductAmount.Name = "ProductAmount";
ProductAmount.ReadOnly = true;
//
// groupBox1
//
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(groupBox1);
Controls.Add(groupBoxProducts);
Name = "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);
}
#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 TextBox textBoxName;
private NumericUpDown numericUpDownDeals;
private Label label2;
private DataGridViewTextBoxColumn ProductId;
private DataGridViewTextBoxColumn ProductName;
private DataGridViewTextBoxColumn ProductAmount;
private GroupBox groupBox1;
}
}