172 lines
6.6 KiB
C#
172 lines
6.6 KiB
C#
|
using Library15Gerimovich;
|
|||
|
using WinFormsLibrary1;
|
|||
|
|
|||
|
namespace Forms
|
|||
|
{
|
|||
|
partial class ProductForm
|
|||
|
{
|
|||
|
/// <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();
|
|||
|
textBoxDescription = new TextBox();
|
|||
|
labelName = new Label();
|
|||
|
labelDescription = new Label();
|
|||
|
buttonSave = new Button();
|
|||
|
buttonCancel = new Button();
|
|||
|
labelCategory = new Label();
|
|||
|
labelCountOnStorage = new Label();
|
|||
|
_categoryComboBox = new ComboBoxUserControl();
|
|||
|
_countOnStorageControl = new InputRealNumber();
|
|||
|
SuspendLayout();
|
|||
|
//
|
|||
|
// textBoxName
|
|||
|
//
|
|||
|
textBoxName.Location = new Point(120, 25);
|
|||
|
textBoxName.Margin = new Padding(3, 4, 3, 4);
|
|||
|
textBoxName.Name = "textBoxName";
|
|||
|
textBoxName.Size = new Size(200, 27);
|
|||
|
textBoxName.TabIndex = 0;
|
|||
|
//
|
|||
|
// textBoxDescription
|
|||
|
//
|
|||
|
textBoxDescription.Location = new Point(120, 76);
|
|||
|
textBoxDescription.Margin = new Padding(3, 4, 3, 4);
|
|||
|
textBoxDescription.Name = "textBoxDescription";
|
|||
|
textBoxDescription.Size = new Size(200, 27);
|
|||
|
textBoxDescription.TabIndex = 1;
|
|||
|
//
|
|||
|
// labelName
|
|||
|
//
|
|||
|
labelName.AutoSize = true;
|
|||
|
labelName.Location = new Point(20, 29);
|
|||
|
labelName.Name = "labelName";
|
|||
|
labelName.Size = new Size(80, 20);
|
|||
|
labelName.TabIndex = 2;
|
|||
|
labelName.Text = "Название:";
|
|||
|
//
|
|||
|
// labelDescription
|
|||
|
//
|
|||
|
labelDescription.AutoSize = true;
|
|||
|
labelDescription.Location = new Point(20, 79);
|
|||
|
labelDescription.Name = "labelDescription";
|
|||
|
labelDescription.Size = new Size(82, 20);
|
|||
|
labelDescription.TabIndex = 3;
|
|||
|
labelDescription.Text = "Описание:";
|
|||
|
//
|
|||
|
// buttonSave
|
|||
|
//
|
|||
|
buttonSave.Location = new Point(12, 358);
|
|||
|
buttonSave.Margin = new Padding(3, 4, 3, 4);
|
|||
|
buttonSave.Name = "buttonSave";
|
|||
|
buttonSave.Size = new Size(150, 38);
|
|||
|
buttonSave.TabIndex = 4;
|
|||
|
buttonSave.Text = "Сохранить";
|
|||
|
buttonSave.UseVisualStyleBackColor = true;
|
|||
|
buttonSave.Click += buttonSave_Click;
|
|||
|
//
|
|||
|
// buttonCancel
|
|||
|
//
|
|||
|
buttonCancel.Location = new Point(190, 358);
|
|||
|
buttonCancel.Margin = new Padding(3, 4, 3, 4);
|
|||
|
buttonCancel.Name = "buttonCancel";
|
|||
|
buttonCancel.Size = new Size(150, 38);
|
|||
|
buttonCancel.TabIndex = 5;
|
|||
|
buttonCancel.Text = "Отмена";
|
|||
|
buttonCancel.UseVisualStyleBackColor = true;
|
|||
|
buttonCancel.Click += buttonCancel_Click;
|
|||
|
//
|
|||
|
// labelCategory
|
|||
|
//
|
|||
|
labelCategory.AutoSize = true;
|
|||
|
labelCategory.Location = new Point(20, 129);
|
|||
|
labelCategory.Name = "labelCategory";
|
|||
|
labelCategory.Size = new Size(84, 20);
|
|||
|
labelCategory.TabIndex = 6;
|
|||
|
labelCategory.Text = "Категория:";
|
|||
|
//
|
|||
|
// labelCountOnStorage
|
|||
|
//
|
|||
|
labelCountOnStorage.AutoSize = true;
|
|||
|
labelCountOnStorage.Location = new Point(23, 193);
|
|||
|
labelCountOnStorage.Name = "labelCountOnStorage";
|
|||
|
labelCountOnStorage.Size = new Size(81, 20);
|
|||
|
labelCountOnStorage.TabIndex = 7;
|
|||
|
labelCountOnStorage.Text = "На складе:";
|
|||
|
//
|
|||
|
// _categoryComboBox
|
|||
|
//
|
|||
|
_categoryComboBox.Location = new Point(120, 125);
|
|||
|
_categoryComboBox.Margin = new Padding(4, 5, 4, 5);
|
|||
|
_categoryComboBox.Name = "_categoryComboBox";
|
|||
|
_categoryComboBox.SelectedValue = "";
|
|||
|
_categoryComboBox.Size = new Size(200, 27);
|
|||
|
_categoryComboBox.TabIndex = 0;
|
|||
|
//
|
|||
|
// _countOnStorageControl
|
|||
|
//
|
|||
|
_countOnStorageControl.Location = new Point(120, 161);
|
|||
|
_countOnStorageControl.Margin = new Padding(3, 4, 3, 4);
|
|||
|
_countOnStorageControl.Name = "_countOnStorageControl";
|
|||
|
_countOnStorageControl.Size = new Size(192, 114);
|
|||
|
_countOnStorageControl.TabIndex = 8;
|
|||
|
//
|
|||
|
// ProductForm
|
|||
|
//
|
|||
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|||
|
AutoScaleMode = AutoScaleMode.Font;
|
|||
|
ClientSize = new Size(361, 409);
|
|||
|
Controls.Add(_countOnStorageControl);
|
|||
|
Controls.Add(_categoryComboBox);
|
|||
|
Controls.Add(labelCountOnStorage);
|
|||
|
Controls.Add(labelCategory);
|
|||
|
Controls.Add(buttonCancel);
|
|||
|
Controls.Add(buttonSave);
|
|||
|
Controls.Add(labelDescription);
|
|||
|
Controls.Add(labelName);
|
|||
|
Controls.Add(textBoxDescription);
|
|||
|
Controls.Add(textBoxName);
|
|||
|
Margin = new Padding(3, 4, 3, 4);
|
|||
|
Name = "ProductForm";
|
|||
|
Text = "Добавление/Редактирование продукта";
|
|||
|
ResumeLayout(false);
|
|||
|
PerformLayout();
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private System.Windows.Forms.TextBox textBoxName;
|
|||
|
private System.Windows.Forms.TextBox textBoxDescription;
|
|||
|
private System.Windows.Forms.Label labelName;
|
|||
|
private System.Windows.Forms.Label labelDescription;
|
|||
|
private System.Windows.Forms.Button buttonSave;
|
|||
|
private System.Windows.Forms.Button buttonCancel;
|
|||
|
private System.Windows.Forms.Label labelCategory;
|
|||
|
private System.Windows.Forms.Label labelCountOnStorage;
|
|||
|
private ComboBoxUserControl _categoryComboBox;
|
|||
|
private InputRealNumber _countOnStorageControl;
|
|||
|
}
|
|||
|
}
|