277 lines
12 KiB
C#
277 lines
12 KiB
C#
namespace WinFormsApp
|
||
{
|
||
partial class FormProducts
|
||
{
|
||
/// <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()
|
||
{
|
||
dataGridView = new DataGridView();
|
||
buttonCreateProduct = new Button();
|
||
groupBoxControls = new GroupBox();
|
||
buttonReadBarCode = new Button();
|
||
pictureBox1 = new PictureBox();
|
||
buttonGenerateBarCode = new Button();
|
||
buttonDeleteProduct = new Button();
|
||
buttonUpdateProduct = new Button();
|
||
groupBoxCreateProduct = new GroupBox();
|
||
numericUpDownAmount = new NumericUpDown();
|
||
numericUpDownPrice = new NumericUpDown();
|
||
buttonCancel = new Button();
|
||
buttonSaveProduct = new Button();
|
||
checkBoxIsSold = new CheckBox();
|
||
textBoxName = new TextBox();
|
||
menuStrip1 = new MenuStrip();
|
||
медиаФайлыToolStripMenuItem = new ToolStripMenuItem();
|
||
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
||
groupBoxControls.SuspendLayout();
|
||
((System.ComponentModel.ISupportInitialize)pictureBox1).BeginInit();
|
||
groupBoxCreateProduct.SuspendLayout();
|
||
((System.ComponentModel.ISupportInitialize)numericUpDownAmount).BeginInit();
|
||
((System.ComponentModel.ISupportInitialize)numericUpDownPrice).BeginInit();
|
||
menuStrip1.SuspendLayout();
|
||
SuspendLayout();
|
||
//
|
||
// dataGridView
|
||
//
|
||
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||
dataGridView.Dock = DockStyle.Left;
|
||
dataGridView.Location = new Point(0, 24);
|
||
dataGridView.Name = "dataGridView";
|
||
dataGridView.ReadOnly = true;
|
||
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
||
dataGridView.Size = new Size(602, 622);
|
||
dataGridView.TabIndex = 0;
|
||
dataGridView.SelectionChanged += dataGridView_SelectionChanged;
|
||
//
|
||
// buttonCreateProduct
|
||
//
|
||
buttonCreateProduct.Location = new Point(69, 22);
|
||
buttonCreateProduct.Name = "buttonCreateProduct";
|
||
buttonCreateProduct.Size = new Size(139, 23);
|
||
buttonCreateProduct.TabIndex = 1;
|
||
buttonCreateProduct.Text = "Добавить товар";
|
||
buttonCreateProduct.UseVisualStyleBackColor = true;
|
||
buttonCreateProduct.Click += buttonCreateProduct_Click;
|
||
//
|
||
// groupBoxControls
|
||
//
|
||
groupBoxControls.BackColor = Color.Transparent;
|
||
groupBoxControls.Controls.Add(buttonReadBarCode);
|
||
groupBoxControls.Controls.Add(pictureBox1);
|
||
groupBoxControls.Controls.Add(buttonGenerateBarCode);
|
||
groupBoxControls.Controls.Add(buttonDeleteProduct);
|
||
groupBoxControls.Controls.Add(buttonUpdateProduct);
|
||
groupBoxControls.Controls.Add(buttonCreateProduct);
|
||
groupBoxControls.Dock = DockStyle.Right;
|
||
groupBoxControls.Location = new Point(617, 24);
|
||
groupBoxControls.Name = "groupBoxControls";
|
||
groupBoxControls.Size = new Size(308, 622);
|
||
groupBoxControls.TabIndex = 2;
|
||
groupBoxControls.TabStop = false;
|
||
groupBoxControls.Text = "Действия";
|
||
//
|
||
// buttonReadBarCode
|
||
//
|
||
buttonReadBarCode.Location = new Point(69, 379);
|
||
buttonReadBarCode.Name = "buttonReadBarCode";
|
||
buttonReadBarCode.Size = new Size(139, 52);
|
||
buttonReadBarCode.TabIndex = 6;
|
||
buttonReadBarCode.Text = "Получить товар по штрих-коду";
|
||
buttonReadBarCode.UseVisualStyleBackColor = true;
|
||
buttonReadBarCode.Click += buttonReadBarCode_Click;
|
||
//
|
||
// pictureBox1
|
||
//
|
||
pictureBox1.Location = new Point(69, 235);
|
||
pictureBox1.Name = "pictureBox1";
|
||
pictureBox1.Size = new Size(139, 112);
|
||
pictureBox1.TabIndex = 5;
|
||
pictureBox1.TabStop = false;
|
||
//
|
||
// buttonGenerateBarCode
|
||
//
|
||
buttonGenerateBarCode.Location = new Point(69, 153);
|
||
buttonGenerateBarCode.Name = "buttonGenerateBarCode";
|
||
buttonGenerateBarCode.Size = new Size(139, 52);
|
||
buttonGenerateBarCode.TabIndex = 4;
|
||
buttonGenerateBarCode.Text = "Сгенерировать штрих-код товара";
|
||
buttonGenerateBarCode.UseVisualStyleBackColor = true;
|
||
buttonGenerateBarCode.Click += buttonGenerateBarCode_Click;
|
||
//
|
||
// buttonDeleteProduct
|
||
//
|
||
buttonDeleteProduct.Location = new Point(69, 102);
|
||
buttonDeleteProduct.Name = "buttonDeleteProduct";
|
||
buttonDeleteProduct.Size = new Size(139, 23);
|
||
buttonDeleteProduct.TabIndex = 3;
|
||
buttonDeleteProduct.Text = "Удалить товар";
|
||
buttonDeleteProduct.UseVisualStyleBackColor = true;
|
||
buttonDeleteProduct.Click += buttonDeleteProduct_Click;
|
||
//
|
||
// buttonUpdateProduct
|
||
//
|
||
buttonUpdateProduct.Location = new Point(69, 62);
|
||
buttonUpdateProduct.Name = "buttonUpdateProduct";
|
||
buttonUpdateProduct.Size = new Size(139, 23);
|
||
buttonUpdateProduct.TabIndex = 2;
|
||
buttonUpdateProduct.Text = "Изменить товар";
|
||
buttonUpdateProduct.UseVisualStyleBackColor = true;
|
||
buttonUpdateProduct.Click += buttonUpdateProduct_Click;
|
||
//
|
||
// groupBoxCreateProduct
|
||
//
|
||
groupBoxCreateProduct.BackColor = Color.Transparent;
|
||
groupBoxCreateProduct.Controls.Add(numericUpDownAmount);
|
||
groupBoxCreateProduct.Controls.Add(numericUpDownPrice);
|
||
groupBoxCreateProduct.Controls.Add(buttonCancel);
|
||
groupBoxCreateProduct.Controls.Add(buttonSaveProduct);
|
||
groupBoxCreateProduct.Controls.Add(checkBoxIsSold);
|
||
groupBoxCreateProduct.Controls.Add(textBoxName);
|
||
groupBoxCreateProduct.Dock = DockStyle.Right;
|
||
groupBoxCreateProduct.Location = new Point(383, 24);
|
||
groupBoxCreateProduct.Name = "groupBoxCreateProduct";
|
||
groupBoxCreateProduct.Size = new Size(234, 622);
|
||
groupBoxCreateProduct.TabIndex = 3;
|
||
groupBoxCreateProduct.TabStop = false;
|
||
groupBoxCreateProduct.Text = "Создание/изменение продукта";
|
||
//
|
||
// numericUpDownAmount
|
||
//
|
||
numericUpDownAmount.Location = new Point(17, 153);
|
||
numericUpDownAmount.Maximum = new decimal(new int[] { 100000, 0, 0, 0 });
|
||
numericUpDownAmount.Name = "numericUpDownAmount";
|
||
numericUpDownAmount.Size = new Size(120, 23);
|
||
numericUpDownAmount.TabIndex = 7;
|
||
//
|
||
// numericUpDownPrice
|
||
//
|
||
numericUpDownPrice.DecimalPlaces = 2;
|
||
numericUpDownPrice.Location = new Point(17, 94);
|
||
numericUpDownPrice.Maximum = new decimal(new int[] { 100000, 0, 0, 0 });
|
||
numericUpDownPrice.Name = "numericUpDownPrice";
|
||
numericUpDownPrice.Size = new Size(120, 23);
|
||
numericUpDownPrice.TabIndex = 6;
|
||
//
|
||
// buttonCancel
|
||
//
|
||
buttonCancel.Location = new Point(111, 235);
|
||
buttonCancel.Name = "buttonCancel";
|
||
buttonCancel.Size = new Size(75, 23);
|
||
buttonCancel.TabIndex = 5;
|
||
buttonCancel.Text = "Отмена";
|
||
buttonCancel.UseVisualStyleBackColor = true;
|
||
buttonCancel.Click += buttonCancel_Click;
|
||
//
|
||
// buttonSaveProduct
|
||
//
|
||
buttonSaveProduct.Location = new Point(17, 235);
|
||
buttonSaveProduct.Name = "buttonSaveProduct";
|
||
buttonSaveProduct.Size = new Size(75, 23);
|
||
buttonSaveProduct.TabIndex = 4;
|
||
buttonSaveProduct.Text = "Сохранить";
|
||
buttonSaveProduct.UseVisualStyleBackColor = true;
|
||
buttonSaveProduct.Click += buttonSaveProduct_Click;
|
||
//
|
||
// checkBoxIsSold
|
||
//
|
||
checkBoxIsSold.AutoSize = true;
|
||
checkBoxIsSold.Location = new Point(17, 210);
|
||
checkBoxIsSold.Name = "checkBoxIsSold";
|
||
checkBoxIsSold.Size = new Size(148, 19);
|
||
checkBoxIsSold.TabIndex = 3;
|
||
checkBoxIsSold.Text = "Поместить в магазин?";
|
||
checkBoxIsSold.UseVisualStyleBackColor = true;
|
||
//
|
||
// textBoxName
|
||
//
|
||
textBoxName.Location = new Point(17, 40);
|
||
textBoxName.Name = "textBoxName";
|
||
textBoxName.Size = new Size(100, 23);
|
||
textBoxName.TabIndex = 0;
|
||
//
|
||
// menuStrip1
|
||
//
|
||
menuStrip1.Items.AddRange(new ToolStripItem[] { медиаФайлыToolStripMenuItem });
|
||
menuStrip1.Location = new Point(0, 0);
|
||
menuStrip1.Name = "menuStrip1";
|
||
menuStrip1.Size = new Size(925, 24);
|
||
menuStrip1.TabIndex = 4;
|
||
menuStrip1.Text = "menuStrip1";
|
||
//
|
||
// медиаФайлыToolStripMenuItem
|
||
//
|
||
медиаФайлыToolStripMenuItem.Name = "медиаФайлыToolStripMenuItem";
|
||
медиаФайлыToolStripMenuItem.Size = new Size(96, 20);
|
||
медиаФайлыToolStripMenuItem.Text = "Медиа файлы";
|
||
медиаФайлыToolStripMenuItem.Click += медиаФайлыToolStripMenuItem_Click;
|
||
//
|
||
// FormProducts
|
||
//
|
||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||
AutoScaleMode = AutoScaleMode.Font;
|
||
ClientSize = new Size(925, 646);
|
||
Controls.Add(groupBoxCreateProduct);
|
||
Controls.Add(groupBoxControls);
|
||
Controls.Add(dataGridView);
|
||
Controls.Add(menuStrip1);
|
||
MainMenuStrip = menuStrip1;
|
||
Name = "FormProducts";
|
||
Text = "FormProducts";
|
||
Load += FormProducts_Load;
|
||
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
||
groupBoxControls.ResumeLayout(false);
|
||
((System.ComponentModel.ISupportInitialize)pictureBox1).EndInit();
|
||
groupBoxCreateProduct.ResumeLayout(false);
|
||
groupBoxCreateProduct.PerformLayout();
|
||
((System.ComponentModel.ISupportInitialize)numericUpDownAmount).EndInit();
|
||
((System.ComponentModel.ISupportInitialize)numericUpDownPrice).EndInit();
|
||
menuStrip1.ResumeLayout(false);
|
||
menuStrip1.PerformLayout();
|
||
ResumeLayout(false);
|
||
PerformLayout();
|
||
}
|
||
|
||
#endregion
|
||
|
||
private DataGridView dataGridView;
|
||
private Button buttonCreateProduct;
|
||
private GroupBox groupBoxControls;
|
||
private GroupBox groupBoxCreateProduct;
|
||
private TextBox textBoxName;
|
||
private Button buttonSaveProduct;
|
||
private CheckBox checkBoxIsSold;
|
||
private NumericUpDown numericUpDownAmount;
|
||
private NumericUpDown numericUpDownPrice;
|
||
private Button buttonCancel;
|
||
private Button buttonUpdateProduct;
|
||
private Button buttonDeleteProduct;
|
||
private Button buttonGenerateBarCode;
|
||
private PictureBox pictureBox1;
|
||
private Button buttonReadBarCode;
|
||
private MenuStrip menuStrip1;
|
||
private ToolStripMenuItem медиаФайлыToolStripMenuItem;
|
||
}
|
||
} |