239 lines
9.3 KiB
C#
239 lines
9.3 KiB
C#
namespace GarmentFactoryView
|
|
{
|
|
partial class FormTextile
|
|
{
|
|
/// <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()
|
|
{
|
|
label1 = new Label();
|
|
label2 = new Label();
|
|
textBoxName = new TextBox();
|
|
textBoxPrice = new TextBox();
|
|
groupBoxTextileComponents = new GroupBox();
|
|
buttonRefresh = new Button();
|
|
buttonDelete = new Button();
|
|
buttonUpdate = new Button();
|
|
buttonAdd = new Button();
|
|
dataGridView = new DataGridView();
|
|
Column1 = new DataGridViewTextBoxColumn();
|
|
Column2 = new DataGridViewTextBoxColumn();
|
|
Column3 = new DataGridViewTextBoxColumn();
|
|
buttonSave = new Button();
|
|
buttonCancel = new Button();
|
|
groupBoxTextileComponents.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(12, 21);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(80, 20);
|
|
label1.TabIndex = 0;
|
|
label1.Text = "Название:";
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Location = new Point(12, 63);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(86, 20);
|
|
label2.TabIndex = 1;
|
|
label2.Text = "Стоимость:";
|
|
//
|
|
// textBoxName
|
|
//
|
|
textBoxName.Location = new Point(110, 21);
|
|
textBoxName.Name = "textBoxName";
|
|
textBoxName.Size = new Size(358, 27);
|
|
textBoxName.TabIndex = 2;
|
|
//
|
|
// textBoxPrice
|
|
//
|
|
textBoxPrice.Enabled = false;
|
|
textBoxPrice.Location = new Point(110, 63);
|
|
textBoxPrice.Name = "textBoxPrice";
|
|
textBoxPrice.Size = new Size(209, 27);
|
|
textBoxPrice.TabIndex = 3;
|
|
//
|
|
// groupBoxTextileComponents
|
|
//
|
|
groupBoxTextileComponents.Controls.Add(buttonRefresh);
|
|
groupBoxTextileComponents.Controls.Add(buttonDelete);
|
|
groupBoxTextileComponents.Controls.Add(buttonUpdate);
|
|
groupBoxTextileComponents.Controls.Add(buttonAdd);
|
|
groupBoxTextileComponents.Controls.Add(dataGridView);
|
|
groupBoxTextileComponents.Location = new Point(12, 115);
|
|
groupBoxTextileComponents.Name = "groupBoxTextileComponents";
|
|
groupBoxTextileComponents.Size = new Size(776, 323);
|
|
groupBoxTextileComponents.TabIndex = 5;
|
|
groupBoxTextileComponents.TabStop = false;
|
|
groupBoxTextileComponents.Text = "Компоненты";
|
|
//
|
|
// buttonRefresh
|
|
//
|
|
buttonRefresh.Location = new Point(623, 254);
|
|
buttonRefresh.Name = "buttonRefresh";
|
|
buttonRefresh.Size = new Size(120, 40);
|
|
buttonRefresh.TabIndex = 4;
|
|
buttonRefresh.Text = "Обновить";
|
|
buttonRefresh.UseVisualStyleBackColor = true;
|
|
buttonRefresh.Click += ButtonRefresh_Click;
|
|
//
|
|
// buttonDelete
|
|
//
|
|
buttonDelete.Location = new Point(623, 174);
|
|
buttonDelete.Name = "buttonDelete";
|
|
buttonDelete.Size = new Size(120, 40);
|
|
buttonDelete.TabIndex = 3;
|
|
buttonDelete.Text = "Удалить";
|
|
buttonDelete.UseVisualStyleBackColor = true;
|
|
buttonDelete.Click += ButtonDelete_Click;
|
|
//
|
|
// buttonUpdate
|
|
//
|
|
buttonUpdate.Location = new Point(623, 97);
|
|
buttonUpdate.Name = "buttonUpdate";
|
|
buttonUpdate.Size = new Size(120, 40);
|
|
buttonUpdate.TabIndex = 2;
|
|
buttonUpdate.Text = "Изменить";
|
|
buttonUpdate.UseVisualStyleBackColor = true;
|
|
buttonUpdate.Click += ButtonUpdate_Click;
|
|
//
|
|
// buttonAdd
|
|
//
|
|
buttonAdd.Location = new Point(623, 26);
|
|
buttonAdd.Name = "buttonAdd";
|
|
buttonAdd.Size = new Size(120, 40);
|
|
buttonAdd.TabIndex = 1;
|
|
buttonAdd.Text = "Добавить";
|
|
buttonAdd.UseVisualStyleBackColor = true;
|
|
buttonAdd.Click += ButtonAdd_Click;
|
|
//
|
|
// dataGridView
|
|
//
|
|
dataGridView.AllowUserToAddRows = false;
|
|
dataGridView.AllowUserToDeleteRows = false;
|
|
dataGridView.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridView.Columns.AddRange(new DataGridViewColumn[] { Column1, Column2, Column3 });
|
|
dataGridView.Dock = DockStyle.Left;
|
|
dataGridView.Location = new Point(3, 23);
|
|
dataGridView.MultiSelect = false;
|
|
dataGridView.Name = "dataGridView";
|
|
dataGridView.ReadOnly = true;
|
|
dataGridView.RowHeadersVisible = false;
|
|
dataGridView.RowHeadersWidth = 51;
|
|
dataGridView.RowTemplate.Height = 29;
|
|
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
|
dataGridView.Size = new Size(574, 297);
|
|
dataGridView.TabIndex = 0;
|
|
//
|
|
// Column1
|
|
//
|
|
Column1.HeaderText = "Id";
|
|
Column1.MinimumWidth = 6;
|
|
Column1.Name = "Column1";
|
|
Column1.ReadOnly = true;
|
|
Column1.Visible = false;
|
|
//
|
|
// Column2
|
|
//
|
|
Column2.HeaderText = "Компонент";
|
|
Column2.MinimumWidth = 6;
|
|
Column2.Name = "Column2";
|
|
Column2.ReadOnly = true;
|
|
//
|
|
// Column3
|
|
//
|
|
Column3.HeaderText = "Количество";
|
|
Column3.MinimumWidth = 6;
|
|
Column3.Name = "Column3";
|
|
Column3.ReadOnly = true;
|
|
//
|
|
// buttonSave
|
|
//
|
|
buttonSave.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
|
|
buttonSave.Location = new Point(547, 472);
|
|
buttonSave.Name = "buttonSave";
|
|
buttonSave.Size = new Size(103, 40);
|
|
buttonSave.TabIndex = 6;
|
|
buttonSave.Text = "Сохранить";
|
|
buttonSave.UseVisualStyleBackColor = true;
|
|
buttonSave.Click += ButtonSave_Click;
|
|
//
|
|
// buttonCancel
|
|
//
|
|
buttonCancel.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
|
|
buttonCancel.Location = new Point(665, 472);
|
|
buttonCancel.Name = "buttonCancel";
|
|
buttonCancel.Size = new Size(103, 40);
|
|
buttonCancel.TabIndex = 7;
|
|
buttonCancel.Text = "Отмена";
|
|
buttonCancel.UseVisualStyleBackColor = true;
|
|
buttonCancel.Click += ButtonCancel_Click;
|
|
//
|
|
// FormTextile
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(800, 545);
|
|
Controls.Add(buttonCancel);
|
|
Controls.Add(buttonSave);
|
|
Controls.Add(groupBoxTextileComponents);
|
|
Controls.Add(textBoxPrice);
|
|
Controls.Add(textBoxName);
|
|
Controls.Add(label2);
|
|
Controls.Add(label1);
|
|
Name = "FormTextile";
|
|
Text = "Текстиль";
|
|
Load += FormTextile_Load;
|
|
groupBoxTextileComponents.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label label1;
|
|
private Label label2;
|
|
private TextBox textBoxName;
|
|
private TextBox textBoxPrice;
|
|
private GroupBox groupBoxTextileComponents;
|
|
private Button buttonRefresh;
|
|
private Button buttonDelete;
|
|
private Button buttonUpdate;
|
|
private Button buttonAdd;
|
|
private DataGridView dataGridView;
|
|
private Button buttonSave;
|
|
private Button buttonCancel;
|
|
private DataGridViewTextBoxColumn Column1;
|
|
private DataGridViewTextBoxColumn Column2;
|
|
private DataGridViewTextBoxColumn Column3;
|
|
}
|
|
} |