217 lines
7.6 KiB
C#
217 lines
7.6 KiB
C#
namespace SewingDressesView
|
|
{
|
|
partial class ShopForm
|
|
{
|
|
/// <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()
|
|
{
|
|
dateTimePicker = new DateTimePicker();
|
|
textBoxName = new TextBox();
|
|
textBoxAdress = new TextBox();
|
|
dataGridView = new DataGridView();
|
|
IdColumn = new DataGridViewTextBoxColumn();
|
|
Title = new DataGridViewTextBoxColumn();
|
|
Cost = new DataGridViewTextBoxColumn();
|
|
Count = new DataGridViewTextBoxColumn();
|
|
buttonSave = new Button();
|
|
buttonCancel = new Button();
|
|
label1 = new Label();
|
|
label2 = new Label();
|
|
label3 = new Label();
|
|
numeric = new NumericUpDown();
|
|
label4 = new Label();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)numeric).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// dateTimePicker
|
|
//
|
|
dateTimePicker.Location = new Point(714, 34);
|
|
dateTimePicker.Name = "dateTimePicker";
|
|
dateTimePicker.Size = new Size(250, 27);
|
|
dateTimePicker.TabIndex = 0;
|
|
//
|
|
// textBoxName
|
|
//
|
|
textBoxName.Location = new Point(714, 85);
|
|
textBoxName.Name = "textBoxName";
|
|
textBoxName.Size = new Size(250, 27);
|
|
textBoxName.TabIndex = 1;
|
|
//
|
|
// textBoxAdress
|
|
//
|
|
textBoxAdress.Location = new Point(714, 139);
|
|
textBoxAdress.Name = "textBoxAdress";
|
|
textBoxAdress.Size = new Size(250, 27);
|
|
textBoxAdress.TabIndex = 2;
|
|
//
|
|
// dataGridView
|
|
//
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridView.Columns.AddRange(new DataGridViewColumn[] { IdColumn, Title, Cost, Count });
|
|
dataGridView.Location = new Point(10, 32);
|
|
dataGridView.Name = "dataGridView";
|
|
dataGridView.RowHeadersWidth = 51;
|
|
dataGridView.RowTemplate.Height = 29;
|
|
dataGridView.Size = new Size(554, 380);
|
|
dataGridView.TabIndex = 3;
|
|
//
|
|
// IdColumn
|
|
//
|
|
IdColumn.HeaderText = "Номер платья";
|
|
IdColumn.MinimumWidth = 6;
|
|
IdColumn.Name = "IdColumn";
|
|
IdColumn.Visible = false;
|
|
IdColumn.Width = 125;
|
|
//
|
|
// Title
|
|
//
|
|
Title.HeaderText = "Название";
|
|
Title.MinimumWidth = 6;
|
|
Title.Name = "Title";
|
|
Title.Width = 125;
|
|
//
|
|
// Cost
|
|
//
|
|
Cost.HeaderText = "Цена";
|
|
Cost.MinimumWidth = 6;
|
|
Cost.Name = "Cost";
|
|
Cost.Width = 125;
|
|
//
|
|
// Count
|
|
//
|
|
Count.HeaderText = "Количество";
|
|
Count.MinimumWidth = 6;
|
|
Count.Name = "Count";
|
|
Count.Width = 125;
|
|
//
|
|
// buttonSave
|
|
//
|
|
buttonSave.Location = new Point(714, 248);
|
|
buttonSave.Name = "buttonSave";
|
|
buttonSave.Size = new Size(94, 29);
|
|
buttonSave.TabIndex = 4;
|
|
buttonSave.Text = "Сохранить";
|
|
buttonSave.UseVisualStyleBackColor = true;
|
|
buttonSave.Click += buttonSave_Click;
|
|
//
|
|
// buttonCancel
|
|
//
|
|
buttonCancel.Location = new Point(870, 248);
|
|
buttonCancel.Name = "buttonCancel";
|
|
buttonCancel.Size = new Size(94, 29);
|
|
buttonCancel.TabIndex = 5;
|
|
buttonCancel.Text = "Отмена";
|
|
buttonCancel.UseVisualStyleBackColor = true;
|
|
buttonCancel.Click += buttonCancel_Click;
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(592, 39);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(110, 20);
|
|
label1.TabIndex = 6;
|
|
label1.Text = "Дата создания";
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Location = new Point(592, 88);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(77, 20);
|
|
label2.TabIndex = 7;
|
|
label2.Text = "Название";
|
|
//
|
|
// label3
|
|
//
|
|
label3.AutoSize = true;
|
|
label3.Location = new Point(592, 142);
|
|
label3.Name = "label3";
|
|
label3.Size = new Size(51, 20);
|
|
label3.TabIndex = 8;
|
|
label3.Text = "Адрес";
|
|
//
|
|
// numeric
|
|
//
|
|
numeric.Location = new Point(714, 196);
|
|
numeric.Name = "numeric";
|
|
numeric.Size = new Size(150, 27);
|
|
numeric.TabIndex = 9;
|
|
//
|
|
// label4
|
|
//
|
|
label4.AutoSize = true;
|
|
label4.Location = new Point(592, 198);
|
|
label4.Name = "label4";
|
|
label4.Size = new Size(100, 20);
|
|
label4.TabIndex = 10;
|
|
label4.Text = "Вместимость";
|
|
//
|
|
// ShopForm
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(976, 450);
|
|
Controls.Add(label4);
|
|
Controls.Add(numeric);
|
|
Controls.Add(label3);
|
|
Controls.Add(label2);
|
|
Controls.Add(label1);
|
|
Controls.Add(buttonCancel);
|
|
Controls.Add(buttonSave);
|
|
Controls.Add(dataGridView);
|
|
Controls.Add(textBoxAdress);
|
|
Controls.Add(textBoxName);
|
|
Controls.Add(dateTimePicker);
|
|
Name = "ShopForm";
|
|
Text = "Форма магазина";
|
|
Load += ShopForm_Load;
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)numeric).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private DateTimePicker dateTimePicker;
|
|
private TextBox textBoxName;
|
|
private TextBox textBoxAdress;
|
|
private DataGridView dataGridView;
|
|
private Button buttonSave;
|
|
private Button buttonCancel;
|
|
private Label label1;
|
|
private Label label2;
|
|
private Label label3;
|
|
private DataGridViewTextBoxColumn IdColumn;
|
|
private DataGridViewTextBoxColumn Title;
|
|
private DataGridViewTextBoxColumn Cost;
|
|
private DataGridViewTextBoxColumn Count;
|
|
private NumericUpDown numeric;
|
|
private Label label4;
|
|
}
|
|
} |