222 lines
8.4 KiB
C#
222 lines
8.4 KiB
C#
namespace ComputersShopView
|
|
{
|
|
partial class FormShop
|
|
{
|
|
/// <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()
|
|
{
|
|
labelShop = new Label();
|
|
labelAddress = new Label();
|
|
labelDate = new Label();
|
|
textBoxName = new TextBox();
|
|
textBoxAddress = new TextBox();
|
|
dateTimePicker = new DateTimePicker();
|
|
dataGridView = new DataGridView();
|
|
ButtonSave = new Button();
|
|
ButtonCancel = new Button();
|
|
numericUpDownCapacity = new NumericUpDown();
|
|
labelCapacity = new Label();
|
|
ID = new DataGridViewTextBoxColumn();
|
|
DocumentName = new DataGridViewTextBoxColumn();
|
|
Price = new DataGridViewTextBoxColumn();
|
|
Count = new DataGridViewTextBoxColumn();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownCapacity).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// labelShop
|
|
//
|
|
labelShop.AutoSize = true;
|
|
labelShop.Location = new Point(10, 16);
|
|
labelShop.Name = "labelShop";
|
|
labelShop.Size = new Size(54, 15);
|
|
labelShop.TabIndex = 0;
|
|
labelShop.Text = "Магазин";
|
|
//
|
|
// labelAddress
|
|
//
|
|
labelAddress.AutoSize = true;
|
|
labelAddress.Location = new Point(156, 16);
|
|
labelAddress.Name = "labelAddress";
|
|
labelAddress.Size = new Size(40, 15);
|
|
labelAddress.TabIndex = 1;
|
|
labelAddress.Text = "Адрес";
|
|
//
|
|
// labelDate
|
|
//
|
|
labelDate.AutoSize = true;
|
|
labelDate.Location = new Point(375, 16);
|
|
labelDate.Name = "labelDate";
|
|
labelDate.Size = new Size(87, 15);
|
|
labelDate.TabIndex = 2;
|
|
labelDate.Text = "Дата открытия";
|
|
//
|
|
// textBoxName
|
|
//
|
|
textBoxName.Location = new Point(10, 33);
|
|
textBoxName.Margin = new Padding(3, 2, 3, 2);
|
|
textBoxName.Name = "textBoxName";
|
|
textBoxName.Size = new Size(140, 23);
|
|
textBoxName.TabIndex = 3;
|
|
//
|
|
// textBoxAddress
|
|
//
|
|
textBoxAddress.Location = new Point(156, 33);
|
|
textBoxAddress.Margin = new Padding(3, 2, 3, 2);
|
|
textBoxAddress.Name = "textBoxAddress";
|
|
textBoxAddress.Size = new Size(216, 23);
|
|
textBoxAddress.TabIndex = 4;
|
|
//
|
|
// dateTimePicker
|
|
//
|
|
dateTimePicker.Location = new Point(375, 33);
|
|
dateTimePicker.Margin = new Padding(3, 2, 3, 2);
|
|
dateTimePicker.Name = "dateTimePicker";
|
|
dateTimePicker.Size = new Size(123, 23);
|
|
dateTimePicker.TabIndex = 5;
|
|
//
|
|
// dataGridView
|
|
//
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridView.Columns.AddRange(new DataGridViewColumn[] { ID, DocumentName, Price, Count });
|
|
dataGridView.Location = new Point(10, 58);
|
|
dataGridView.Margin = new Padding(3, 2, 3, 2);
|
|
dataGridView.Name = "dataGridView";
|
|
dataGridView.RowHeadersWidth = 51;
|
|
dataGridView.RowTemplate.Height = 29;
|
|
dataGridView.Size = new Size(623, 248);
|
|
dataGridView.TabIndex = 6;
|
|
//
|
|
// ButtonSave
|
|
//
|
|
ButtonSave.Location = new Point(429, 310);
|
|
ButtonSave.Margin = new Padding(3, 2, 3, 2);
|
|
ButtonSave.Name = "ButtonSave";
|
|
ButtonSave.Size = new Size(97, 22);
|
|
ButtonSave.TabIndex = 7;
|
|
ButtonSave.Text = "Сохранить";
|
|
ButtonSave.UseVisualStyleBackColor = true;
|
|
ButtonSave.Click += ButtonSave_Click;
|
|
//
|
|
// ButtonCancel
|
|
//
|
|
ButtonCancel.Location = new Point(551, 310);
|
|
ButtonCancel.Margin = new Padding(3, 2, 3, 2);
|
|
ButtonCancel.Name = "ButtonCancel";
|
|
ButtonCancel.Size = new Size(82, 22);
|
|
ButtonCancel.TabIndex = 8;
|
|
ButtonCancel.Text = "Отмена";
|
|
ButtonCancel.UseVisualStyleBackColor = true;
|
|
ButtonCancel.Click += ButtonCancel_Click;
|
|
//
|
|
// numericUpDownCapacity
|
|
//
|
|
numericUpDownCapacity.Location = new Point(513, 33);
|
|
numericUpDownCapacity.Name = "numericUpDownCapacity";
|
|
numericUpDownCapacity.Size = new Size(120, 23);
|
|
numericUpDownCapacity.TabIndex = 9;
|
|
//
|
|
// labelCapacity
|
|
//
|
|
labelCapacity.AutoSize = true;
|
|
labelCapacity.Location = new Point(513, 16);
|
|
labelCapacity.Name = "labelCapacity";
|
|
labelCapacity.Size = new Size(80, 15);
|
|
labelCapacity.TabIndex = 10;
|
|
labelCapacity.Text = "Вместимость";
|
|
//
|
|
// ID
|
|
//
|
|
ID.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
|
ID.HeaderText = "ID";
|
|
ID.MinimumWidth = 6;
|
|
ID.Name = "ID";
|
|
ID.Visible = false;
|
|
//
|
|
// DocumentName
|
|
//
|
|
DocumentName.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
|
DocumentName.HeaderText = "Название компьютера";
|
|
DocumentName.MinimumWidth = 6;
|
|
DocumentName.Name = "DocumentName";
|
|
//
|
|
// Price
|
|
//
|
|
Price.HeaderText = "Стоимость";
|
|
Price.Name = "Price";
|
|
//
|
|
// Count
|
|
//
|
|
Count.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
|
Count.HeaderText = "Количество";
|
|
Count.MinimumWidth = 6;
|
|
Count.Name = "Count";
|
|
//
|
|
// FormShop
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(648, 338);
|
|
Controls.Add(labelCapacity);
|
|
Controls.Add(numericUpDownCapacity);
|
|
Controls.Add(ButtonCancel);
|
|
Controls.Add(ButtonSave);
|
|
Controls.Add(dataGridView);
|
|
Controls.Add(dateTimePicker);
|
|
Controls.Add(textBoxAddress);
|
|
Controls.Add(textBoxName);
|
|
Controls.Add(labelDate);
|
|
Controls.Add(labelAddress);
|
|
Controls.Add(labelShop);
|
|
Margin = new Padding(3, 2, 3, 2);
|
|
Name = "FormShop";
|
|
Text = "Магазин";
|
|
Load += FormShop_Load;
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownCapacity).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label labelShop;
|
|
private Label labelAddress;
|
|
private Label labelDate;
|
|
private TextBox textBoxName;
|
|
private TextBox textBoxAddress;
|
|
private DateTimePicker dateTimePicker;
|
|
private DataGridView dataGridView;
|
|
private Button ButtonSave;
|
|
private Button ButtonCancel;
|
|
private NumericUpDown numericUpDownCapacity;
|
|
private Label labelCapacity;
|
|
private DataGridViewTextBoxColumn ID;
|
|
private DataGridViewTextBoxColumn DocumentName;
|
|
private DataGridViewTextBoxColumn Price;
|
|
private DataGridViewTextBoxColumn Count;
|
|
}
|
|
} |