201 lines
7.4 KiB
C#
201 lines
7.4 KiB
C#
namespace CarRepairShopView
|
|
{
|
|
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()
|
|
{
|
|
textBoxName = new TextBox();
|
|
label1 = new Label();
|
|
label2 = new Label();
|
|
textBoxAddress = new TextBox();
|
|
label3 = new Label();
|
|
dateTimePickerDateOpen = new DateTimePicker();
|
|
groupBox = new GroupBox();
|
|
buttonSave = new Button();
|
|
buttonCancel = new Button();
|
|
dataGridView = new DataGridView();
|
|
ColumnId = new DataGridViewTextBoxColumn();
|
|
ColumnName = new DataGridViewTextBoxColumn();
|
|
ColumnCount = new DataGridViewTextBoxColumn();
|
|
groupBox.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// textBoxName
|
|
//
|
|
textBoxName.Location = new Point(82, 13);
|
|
textBoxName.Name = "textBoxName";
|
|
textBoxName.Size = new Size(100, 23);
|
|
textBoxName.TabIndex = 0;
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(17, 17);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(62, 15);
|
|
label1.TabIndex = 1;
|
|
label1.Text = "Название:";
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Location = new Point(200, 17);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(43, 15);
|
|
label2.TabIndex = 3;
|
|
label2.Text = "Адрес:";
|
|
//
|
|
// textBoxAddress
|
|
//
|
|
textBoxAddress.Location = new Point(249, 13);
|
|
textBoxAddress.Name = "textBoxAddress";
|
|
textBoxAddress.Size = new Size(100, 23);
|
|
textBoxAddress.TabIndex = 2;
|
|
//
|
|
// label3
|
|
//
|
|
label3.AutoSize = true;
|
|
label3.Location = new Point(368, 18);
|
|
label3.Name = "label3";
|
|
label3.Size = new Size(90, 15);
|
|
label3.TabIndex = 5;
|
|
label3.Text = "Дата открытия:";
|
|
//
|
|
// dateTimePickerDateOpen
|
|
//
|
|
dateTimePickerDateOpen.Location = new Point(464, 13);
|
|
dateTimePickerDateOpen.Name = "dateTimePickerDateOpen";
|
|
dateTimePickerDateOpen.Size = new Size(142, 23);
|
|
dateTimePickerDateOpen.TabIndex = 6;
|
|
//
|
|
// groupBox
|
|
//
|
|
groupBox.Controls.Add(dataGridView);
|
|
groupBox.Location = new Point(12, 47);
|
|
groupBox.Name = "groupBox";
|
|
groupBox.Size = new Size(611, 274);
|
|
groupBox.TabIndex = 8;
|
|
groupBox.TabStop = false;
|
|
groupBox.Text = "Ремонты";
|
|
//
|
|
// buttonSave
|
|
//
|
|
buttonSave.Location = new Point(530, 327);
|
|
buttonSave.Name = "buttonSave";
|
|
buttonSave.Size = new Size(93, 32);
|
|
buttonSave.TabIndex = 9;
|
|
buttonSave.Text = "Сохранить";
|
|
buttonSave.UseVisualStyleBackColor = true;
|
|
buttonSave.Click += buttonSave_Click;
|
|
//
|
|
// buttonCancel
|
|
//
|
|
buttonCancel.Location = new Point(431, 327);
|
|
buttonCancel.Name = "buttonCancel";
|
|
buttonCancel.Size = new Size(93, 32);
|
|
buttonCancel.TabIndex = 10;
|
|
buttonCancel.Text = "Отмена";
|
|
buttonCancel.UseVisualStyleBackColor = true;
|
|
buttonCancel.Click += buttonCancel_Click;
|
|
//
|
|
// dataGridView
|
|
//
|
|
dataGridView.AllowUserToAddRows = false;
|
|
dataGridView.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
|
dataGridView.BackgroundColor = Color.White;
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridView.Columns.AddRange(new DataGridViewColumn[] { ColumnId, ColumnName, ColumnCount });
|
|
dataGridView.Location = new Point(5, 22);
|
|
dataGridView.Name = "dataGridView";
|
|
dataGridView.ReadOnly = true;
|
|
dataGridView.RowHeadersVisible = false;
|
|
dataGridView.RowTemplate.Height = 25;
|
|
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
|
dataGridView.Size = new Size(600, 246);
|
|
dataGridView.TabIndex = 1;
|
|
//
|
|
// ColumnId
|
|
//
|
|
ColumnId.HeaderText = "Id";
|
|
ColumnId.Name = "ColumnId";
|
|
ColumnId.ReadOnly = true;
|
|
ColumnId.Visible = false;
|
|
//
|
|
// ColumnName
|
|
//
|
|
ColumnName.HeaderText = "Компонент";
|
|
ColumnName.Name = "ColumnName";
|
|
ColumnName.ReadOnly = true;
|
|
//
|
|
// ColumnCount
|
|
//
|
|
ColumnCount.FillWeight = 50F;
|
|
ColumnCount.HeaderText = "Количество";
|
|
ColumnCount.Name = "ColumnCount";
|
|
ColumnCount.ReadOnly = true;
|
|
//
|
|
// FormShop
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(635, 368);
|
|
Controls.Add(buttonCancel);
|
|
Controls.Add(buttonSave);
|
|
Controls.Add(groupBox);
|
|
Controls.Add(dateTimePickerDateOpen);
|
|
Controls.Add(label3);
|
|
Controls.Add(label2);
|
|
Controls.Add(textBoxAddress);
|
|
Controls.Add(label1);
|
|
Controls.Add(textBoxName);
|
|
Name = "FormShop";
|
|
Text = "Создание магазина";
|
|
Load += FormShop_Load;
|
|
groupBox.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private TextBox textBoxName;
|
|
private Label label1;
|
|
private Label label2;
|
|
private TextBox textBoxAddress;
|
|
private Label label3;
|
|
private DateTimePicker dateTimePickerDateOpen;
|
|
private GroupBox groupBox;
|
|
private Button buttonSave;
|
|
private Button buttonCancel;
|
|
private DataGridView dataGridView;
|
|
private DataGridViewTextBoxColumn ColumnId;
|
|
private DataGridViewTextBoxColumn ColumnName;
|
|
private DataGridViewTextBoxColumn ColumnCount;
|
|
}
|
|
} |