197 lines
7.4 KiB
C#
197 lines
7.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()
|
||
{
|
||
dateTimePicker = new DateTimePicker();
|
||
textBoxName = new TextBox();
|
||
textBoxAddress = new TextBox();
|
||
labelTime = new Label();
|
||
labelAddress = new Label();
|
||
dataGridView = new DataGridView();
|
||
ColumnID = new DataGridViewTextBoxColumn();
|
||
ColumnManufactureName = new DataGridViewTextBoxColumn();
|
||
Цена = new DataGridViewTextBoxColumn();
|
||
ColumnCount = new DataGridViewTextBoxColumn();
|
||
labelShop = new Label();
|
||
buttonSave = new Button();
|
||
buttonCancel = new Button();
|
||
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
||
SuspendLayout();
|
||
//
|
||
// dateTimePicker
|
||
//
|
||
dateTimePicker.Location = new Point(384, 27);
|
||
dateTimePicker.Name = "dateTimePicker";
|
||
dateTimePicker.Size = new Size(207, 23);
|
||
dateTimePicker.TabIndex = 26;
|
||
//
|
||
// textBoxName
|
||
//
|
||
textBoxName.Location = new Point(10, 27);
|
||
textBoxName.Name = "textBoxName";
|
||
textBoxName.Size = new Size(141, 23);
|
||
textBoxName.TabIndex = 25;
|
||
//
|
||
// textBoxAddress
|
||
//
|
||
textBoxAddress.Location = new Point(158, 27);
|
||
textBoxAddress.Name = "textBoxAddress";
|
||
textBoxAddress.Size = new Size(221, 23);
|
||
textBoxAddress.TabIndex = 24;
|
||
//
|
||
// labelTime
|
||
//
|
||
labelTime.AutoSize = true;
|
||
labelTime.Location = new Point(384, 9);
|
||
labelTime.Name = "labelTime";
|
||
labelTime.Size = new Size(87, 15);
|
||
labelTime.TabIndex = 23;
|
||
labelTime.Text = "Дата открытия";
|
||
//
|
||
// labelAddress
|
||
//
|
||
labelAddress.AutoSize = true;
|
||
labelAddress.Location = new Point(158, 9);
|
||
labelAddress.Name = "labelAddress";
|
||
labelAddress.Size = new Size(40, 15);
|
||
labelAddress.TabIndex = 22;
|
||
labelAddress.Text = "Адрес";
|
||
//
|
||
// dataGridView
|
||
//
|
||
dataGridView.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
||
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||
dataGridView.Columns.AddRange(new DataGridViewColumn[] { ColumnID, ColumnManufactureName, Цена, ColumnCount });
|
||
dataGridView.Location = new Point(10, 56);
|
||
dataGridView.Name = "dataGridView";
|
||
dataGridView.RowHeadersWidth = 62;
|
||
dataGridView.RowTemplate.Height = 25;
|
||
dataGridView.Size = new Size(581, 327);
|
||
dataGridView.TabIndex = 21;
|
||
//
|
||
// ColumnID
|
||
//
|
||
ColumnID.HeaderText = "ID";
|
||
ColumnID.MinimumWidth = 8;
|
||
ColumnID.Name = "ColumnID";
|
||
ColumnID.Visible = false;
|
||
ColumnID.Width = 150;
|
||
//
|
||
// ColumnManufactureName
|
||
//
|
||
ColumnManufactureName.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
||
ColumnManufactureName.HeaderText = "Название компьютера";
|
||
ColumnManufactureName.MinimumWidth = 8;
|
||
ColumnManufactureName.Name = "ColumnManufactureName";
|
||
//
|
||
// Цена
|
||
//
|
||
Цена.HeaderText = "Цена";
|
||
Цена.MinimumWidth = 6;
|
||
Цена.Name = "Цена";
|
||
Цена.Width = 125;
|
||
//
|
||
// ColumnCount
|
||
//
|
||
ColumnCount.HeaderText = "Количество";
|
||
ColumnCount.MinimumWidth = 8;
|
||
ColumnCount.Name = "ColumnCount";
|
||
ColumnCount.Width = 150;
|
||
//
|
||
// labelShop
|
||
//
|
||
labelShop.AutoSize = true;
|
||
labelShop.Location = new Point(10, 9);
|
||
labelShop.Name = "labelShop";
|
||
labelShop.Size = new Size(54, 15);
|
||
labelShop.TabIndex = 20;
|
||
labelShop.Text = "Магазин";
|
||
//
|
||
// buttonSave
|
||
//
|
||
buttonSave.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||
buttonSave.Location = new Point(363, 392);
|
||
buttonSave.Name = "buttonSave";
|
||
buttonSave.Size = new Size(120, 22);
|
||
buttonSave.TabIndex = 28;
|
||
buttonSave.Text = "Сохранить";
|
||
buttonSave.UseVisualStyleBackColor = true;
|
||
buttonSave.Click += ButtonSave_Click;
|
||
//
|
||
// buttonCancel
|
||
//
|
||
buttonCancel.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||
buttonCancel.Location = new Point(488, 392);
|
||
buttonCancel.Name = "buttonCancel";
|
||
buttonCancel.Size = new Size(103, 22);
|
||
buttonCancel.TabIndex = 27;
|
||
buttonCancel.Text = "Отмена";
|
||
buttonCancel.UseVisualStyleBackColor = true;
|
||
buttonCancel.Click += ButtonCancel_Click;
|
||
//
|
||
// FormShop
|
||
//
|
||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||
AutoScaleMode = AutoScaleMode.Font;
|
||
ClientSize = new Size(616, 425);
|
||
Controls.Add(buttonSave);
|
||
Controls.Add(buttonCancel);
|
||
Controls.Add(dateTimePicker);
|
||
Controls.Add(textBoxName);
|
||
Controls.Add(textBoxAddress);
|
||
Controls.Add(labelTime);
|
||
Controls.Add(labelAddress);
|
||
Controls.Add(dataGridView);
|
||
Controls.Add(labelShop);
|
||
Margin = new Padding(3, 2, 3, 2);
|
||
Name = "FormShop";
|
||
Text = "FormShop";
|
||
Load += FormShop_Load;
|
||
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
||
ResumeLayout(false);
|
||
PerformLayout();
|
||
}
|
||
|
||
#endregion
|
||
|
||
private DateTimePicker dateTimePicker;
|
||
private TextBox textBoxName;
|
||
private TextBox textBoxAddress;
|
||
private Label labelTime;
|
||
private Label labelAddress;
|
||
private DataGridView dataGridView;
|
||
private Label labelShop;
|
||
private Button buttonSave;
|
||
private Button buttonCancel;
|
||
private DataGridViewTextBoxColumn ColumnID;
|
||
private DataGridViewTextBoxColumn ColumnManufactureName;
|
||
private DataGridViewTextBoxColumn Цена;
|
||
private DataGridViewTextBoxColumn ColumnCount;
|
||
}
|
||
} |