PIAPS_CW/WinFormsApp/FormSupply.Designer.cs
2024-06-25 22:34:53 +04:00

249 lines
10 KiB
C#

namespace WinFormsApp
{
partial class FormSupply
{
/// <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()
{
textBoxName = new TextBox();
dataGridView = new DataGridView();
ProductId = new DataGridViewTextBoxColumn();
ProductName = new DataGridViewTextBoxColumn();
ProductAmount = new DataGridViewTextBoxColumn();
groupBoxProducts = new GroupBox();
buttonDeleteProduct = new Button();
buttonUpdateProduct = new Button();
buttonAddProduct = new Button();
buttonSave = new Button();
buttonCancel = new Button();
textBoxPrice = new TextBox();
comboBoxSupplier = new ComboBox();
groupBox1 = new GroupBox();
label1 = new Label();
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
groupBoxProducts.SuspendLayout();
groupBox1.SuspendLayout();
SuspendLayout();
//
// textBoxName
//
textBoxName.Dock = DockStyle.Fill;
textBoxName.Font = new Font("Segoe UI", 10F);
textBoxName.Location = new Point(3, 21);
textBoxName.Multiline = true;
textBoxName.Name = "textBoxName";
textBoxName.Size = new Size(244, 426);
textBoxName.TabIndex = 0;
//
// 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(405, 241);
dataGridView.TabIndex = 1;
//
// 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;
//
// 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.Control;
groupBoxProducts.Location = new Point(0, 0);
groupBoxProducts.Name = "groupBoxProducts";
groupBoxProducts.Size = new Size(411, 450);
groupBoxProducts.TabIndex = 2;
groupBoxProducts.TabStop = false;
groupBoxProducts.Text = "Товары";
//
// buttonDeleteProduct
//
buttonDeleteProduct.BackColor = Color.FromArgb(255, 192, 192);
buttonDeleteProduct.ForeColor = SystemColors.ActiveCaptionText;
buttonDeleteProduct.Location = new Point(213, 268);
buttonDeleteProduct.Name = "buttonDeleteProduct";
buttonDeleteProduct.Size = new Size(126, 49);
buttonDeleteProduct.TabIndex = 4;
buttonDeleteProduct.Text = "Удалить";
buttonDeleteProduct.UseVisualStyleBackColor = false;
buttonDeleteProduct.Click += buttonDeleteProduct_Click;
//
// buttonUpdateProduct
//
buttonUpdateProduct.ForeColor = SystemColors.ActiveCaptionText;
buttonUpdateProduct.Location = new Point(12, 323);
buttonUpdateProduct.Name = "buttonUpdateProduct";
buttonUpdateProduct.Size = new Size(126, 49);
buttonUpdateProduct.TabIndex = 3;
buttonUpdateProduct.Text = "Изменить";
buttonUpdateProduct.UseVisualStyleBackColor = true;
buttonUpdateProduct.Click += buttonUpdateProduct_Click;
//
// buttonAddProduct
//
buttonAddProduct.BackColor = Color.FromArgb(192, 255, 192);
buttonAddProduct.ForeColor = SystemColors.ActiveCaptionText;
buttonAddProduct.Location = new Point(12, 268);
buttonAddProduct.Name = "buttonAddProduct";
buttonAddProduct.Size = new Size(126, 49);
buttonAddProduct.TabIndex = 2;
buttonAddProduct.Text = "Добавить";
buttonAddProduct.UseVisualStyleBackColor = false;
buttonAddProduct.Click += buttonAddProduct_Click;
//
// buttonSave
//
buttonSave.Font = new Font("Segoe UI", 10F, FontStyle.Bold);
buttonSave.Location = new Point(679, 353);
buttonSave.Name = "buttonSave";
buttonSave.Size = new Size(109, 41);
buttonSave.TabIndex = 4;
buttonSave.Text = "Сохранить";
buttonSave.UseVisualStyleBackColor = true;
buttonSave.Click += buttonSave_Click;
//
// buttonCancel
//
buttonCancel.Font = new Font("Segoe UI", 10F, FontStyle.Bold);
buttonCancel.Location = new Point(679, 400);
buttonCancel.Name = "buttonCancel";
buttonCancel.Size = new Size(109, 38);
buttonCancel.TabIndex = 5;
buttonCancel.Text = "Отмена";
buttonCancel.UseVisualStyleBackColor = true;
//
// textBoxPrice
//
textBoxPrice.Enabled = false;
textBoxPrice.Location = new Point(473, 88);
textBoxPrice.Name = "textBoxPrice";
textBoxPrice.Size = new Size(100, 23);
textBoxPrice.TabIndex = 6;
//
// comboBoxSupplier
//
comboBoxSupplier.FormattingEnabled = true;
comboBoxSupplier.Location = new Point(679, 283);
comboBoxSupplier.Name = "comboBoxSupplier";
comboBoxSupplier.Size = new Size(109, 23);
comboBoxSupplier.TabIndex = 7;
//
// groupBox1
//
groupBox1.BackColor = Color.Transparent;
groupBox1.Controls.Add(textBoxName);
groupBox1.Dock = DockStyle.Left;
groupBox1.Font = new Font("Segoe UI", 10F, FontStyle.Bold);
groupBox1.ForeColor = SystemColors.Control;
groupBox1.Location = new Point(411, 0);
groupBox1.Name = "groupBox1";
groupBox1.Size = new Size(250, 450);
groupBox1.TabIndex = 8;
groupBox1.TabStop = false;
groupBox1.Text = "Общие сведения";
//
// label1
//
label1.AutoSize = true;
label1.BackColor = Color.Transparent;
label1.Font = new Font("Segoe UI", 12F, FontStyle.Bold);
label1.ForeColor = SystemColors.Control;
label1.Location = new Point(679, 259);
label1.Name = "label1";
label1.Size = new Size(98, 21);
label1.TabIndex = 9;
label1.Text = "Поставщик";
//
// FormSupply
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
BackgroundImage = Properties.Resources._9AZKH1_1911594361;
ClientSize = new Size(800, 450);
Controls.Add(label1);
Controls.Add(groupBox1);
Controls.Add(buttonCancel);
Controls.Add(comboBoxSupplier);
Controls.Add(textBoxPrice);
Controls.Add(buttonSave);
Controls.Add(groupBoxProducts);
Name = "FormSupply";
Text = "Оформление поставки";
Load += FormSupply_Load;
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
groupBoxProducts.ResumeLayout(false);
groupBox1.ResumeLayout(false);
groupBox1.PerformLayout();
ResumeLayout(false);
PerformLayout();
}
#endregion
private TextBox textBoxName;
private DataGridView dataGridView;
private GroupBox groupBoxProducts;
private Button buttonAddProduct;
private Button buttonUpdateProduct;
private Button buttonDeleteProduct;
private Button buttonSave;
private Button buttonCancel;
private TextBox textBoxPrice;
private ComboBox comboBoxSupplier;
private GroupBox groupBox1;
private DataGridViewTextBoxColumn ProductId;
private DataGridViewTextBoxColumn ProductName;
private DataGridViewTextBoxColumn ProductAmount;
private Label label1;
}
}