228 lines
8.4 KiB
C#
228 lines
8.4 KiB
C#
namespace SewingDressesView
|
|
{
|
|
partial class DressForm
|
|
{
|
|
/// <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();
|
|
groupBox1 = new GroupBox();
|
|
buttonUpdate = new Button();
|
|
buttonDelete = new Button();
|
|
buttonChange = new Button();
|
|
buttonAdd = new Button();
|
|
dataGridView = new DataGridView();
|
|
IdColumn = new DataGridViewTextBoxColumn();
|
|
ComponentColumn = new DataGridViewTextBoxColumn();
|
|
CountColumn = new DataGridViewTextBoxColumn();
|
|
textBoxName = new TextBox();
|
|
textBoxCost = new TextBox();
|
|
buttonSave = new Button();
|
|
buttonCancel = new Button();
|
|
groupBox1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(21, 19);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(80, 20);
|
|
label1.TabIndex = 0;
|
|
label1.Text = "Название:";
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Location = new Point(21, 58);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(86, 20);
|
|
label2.TabIndex = 1;
|
|
label2.Text = "Стоимость:";
|
|
//
|
|
// groupBox1
|
|
//
|
|
groupBox1.Controls.Add(buttonUpdate);
|
|
groupBox1.Controls.Add(buttonDelete);
|
|
groupBox1.Controls.Add(buttonChange);
|
|
groupBox1.Controls.Add(buttonAdd);
|
|
groupBox1.Controls.Add(dataGridView);
|
|
groupBox1.Location = new Point(21, 98);
|
|
groupBox1.Name = "groupBox1";
|
|
groupBox1.Size = new Size(752, 340);
|
|
groupBox1.TabIndex = 2;
|
|
groupBox1.TabStop = false;
|
|
groupBox1.Text = "Компоненты";
|
|
//
|
|
// buttonUpdate
|
|
//
|
|
buttonUpdate.Location = new Point(612, 212);
|
|
buttonUpdate.Name = "buttonUpdate";
|
|
buttonUpdate.Size = new Size(94, 29);
|
|
buttonUpdate.TabIndex = 4;
|
|
buttonUpdate.Text = "Обновить";
|
|
buttonUpdate.UseVisualStyleBackColor = true;
|
|
buttonUpdate.Click += buttonUpdate_Click;
|
|
//
|
|
// buttonDelete
|
|
//
|
|
buttonDelete.Location = new Point(612, 162);
|
|
buttonDelete.Name = "buttonDelete";
|
|
buttonDelete.Size = new Size(94, 29);
|
|
buttonDelete.TabIndex = 3;
|
|
buttonDelete.Text = "Удалить";
|
|
buttonDelete.UseVisualStyleBackColor = true;
|
|
buttonDelete.Click += buttonDelete_Click;
|
|
//
|
|
// buttonChange
|
|
//
|
|
buttonChange.Location = new Point(612, 105);
|
|
buttonChange.Name = "buttonChange";
|
|
buttonChange.Size = new Size(94, 29);
|
|
buttonChange.TabIndex = 2;
|
|
buttonChange.Text = "Изменить";
|
|
buttonChange.UseVisualStyleBackColor = true;
|
|
buttonChange.Click += buttonChange_Click;
|
|
//
|
|
// buttonAdd
|
|
//
|
|
buttonAdd.Location = new Point(612, 52);
|
|
buttonAdd.Name = "buttonAdd";
|
|
buttonAdd.Size = new Size(94, 29);
|
|
buttonAdd.TabIndex = 1;
|
|
buttonAdd.Text = "Добавить";
|
|
buttonAdd.UseVisualStyleBackColor = true;
|
|
buttonAdd.Click += buttonAdd_Click;
|
|
//
|
|
// dataGridView
|
|
//
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridView.Columns.AddRange(new DataGridViewColumn[] { IdColumn, ComponentColumn, CountColumn });
|
|
dataGridView.Location = new Point(6, 29);
|
|
dataGridView.Name = "dataGridView";
|
|
dataGridView.RowHeadersWidth = 51;
|
|
dataGridView.RowTemplate.Height = 29;
|
|
dataGridView.Size = new Size(562, 305);
|
|
dataGridView.TabIndex = 0;
|
|
//
|
|
// IdColumn
|
|
//
|
|
IdColumn.HeaderText = "Id";
|
|
IdColumn.MinimumWidth = 6;
|
|
IdColumn.Name = "IdColumn";
|
|
IdColumn.Visible = false;
|
|
IdColumn.Width = 125;
|
|
//
|
|
// ComponentColumn
|
|
//
|
|
ComponentColumn.HeaderText = "Компонент";
|
|
ComponentColumn.MinimumWidth = 6;
|
|
ComponentColumn.Name = "ComponentColumn";
|
|
ComponentColumn.Width = 125;
|
|
//
|
|
// CountColumn
|
|
//
|
|
CountColumn.HeaderText = "Количество";
|
|
CountColumn.MinimumWidth = 6;
|
|
CountColumn.Name = "CountColumn";
|
|
CountColumn.Width = 125;
|
|
//
|
|
// textBoxName
|
|
//
|
|
textBoxName.Location = new Point(125, 16);
|
|
textBoxName.Name = "textBoxName";
|
|
textBoxName.Size = new Size(365, 27);
|
|
textBoxName.TabIndex = 3;
|
|
//
|
|
// textBoxCost
|
|
//
|
|
textBoxCost.Location = new Point(125, 58);
|
|
textBoxCost.Name = "textBoxCost";
|
|
textBoxCost.Size = new Size(152, 27);
|
|
textBoxCost.TabIndex = 4;
|
|
//
|
|
// buttonSave
|
|
//
|
|
buttonSave.Location = new Point(533, 444);
|
|
buttonSave.Name = "buttonSave";
|
|
buttonSave.Size = new Size(94, 29);
|
|
buttonSave.TabIndex = 5;
|
|
buttonSave.Text = "Сохранить";
|
|
buttonSave.UseVisualStyleBackColor = true;
|
|
buttonSave.Click += buttonSave_Click;
|
|
//
|
|
// buttonCancel
|
|
//
|
|
buttonCancel.Location = new Point(633, 444);
|
|
buttonCancel.Name = "buttonCancel";
|
|
buttonCancel.Size = new Size(94, 29);
|
|
buttonCancel.TabIndex = 6;
|
|
buttonCancel.Text = "Отмена";
|
|
buttonCancel.UseVisualStyleBackColor = true;
|
|
buttonCancel.Click += buttonCancel_Click;
|
|
//
|
|
// DressForm
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(800, 502);
|
|
Controls.Add(buttonCancel);
|
|
Controls.Add(buttonSave);
|
|
Controls.Add(textBoxCost);
|
|
Controls.Add(textBoxName);
|
|
Controls.Add(groupBox1);
|
|
Controls.Add(label2);
|
|
Controls.Add(label1);
|
|
Name = "DressForm";
|
|
Text = "Платья";
|
|
Load += DressForm_Load;
|
|
groupBox1.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label label1;
|
|
private Label label2;
|
|
private GroupBox groupBox1;
|
|
private DataGridView dataGridView;
|
|
private DataGridViewTextBoxColumn IdColumn;
|
|
private DataGridViewTextBoxColumn ComponentColumn;
|
|
private DataGridViewTextBoxColumn CountColumn;
|
|
private TextBox textBoxName;
|
|
private TextBox textBoxCost;
|
|
private Button buttonUpdate;
|
|
private Button buttonDelete;
|
|
private Button buttonChange;
|
|
private Button buttonAdd;
|
|
private Button buttonSave;
|
|
private Button buttonCancel;
|
|
}
|
|
} |