2024-04-14 02:36:43 +04:00
|
|
|
|
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()
|
|
|
|
|
{
|
|
|
|
|
labelName = new Label();
|
|
|
|
|
textBoxName = new TextBox();
|
|
|
|
|
labelAddress = new Label();
|
|
|
|
|
textBoxAddress = new TextBox();
|
|
|
|
|
dateTimePicker = new DateTimePicker();
|
|
|
|
|
labelOpeningDate = new Label();
|
|
|
|
|
groupBoxRepairs = new GroupBox();
|
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
ColumnId = new DataGridViewTextBoxColumn();
|
|
|
|
|
ColumnName = new DataGridViewTextBoxColumn();
|
|
|
|
|
ColumnCount = new DataGridViewTextBoxColumn();
|
|
|
|
|
buttonSave = new Button();
|
|
|
|
|
buttonCancel = new Button();
|
2024-04-27 22:23:26 +04:00
|
|
|
|
textBoxMaximum = new TextBox();
|
|
|
|
|
labelMaximum = new Label();
|
2024-04-14 02:36:43 +04:00
|
|
|
|
groupBoxRepairs.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// labelName
|
|
|
|
|
//
|
|
|
|
|
labelName.AutoSize = true;
|
|
|
|
|
labelName.Location = new Point(14, 10);
|
|
|
|
|
labelName.Margin = new Padding(4, 0, 4, 0);
|
|
|
|
|
labelName.Name = "labelName";
|
|
|
|
|
labelName.Size = new Size(65, 15);
|
|
|
|
|
labelName.TabIndex = 1;
|
|
|
|
|
labelName.Text = "Название :";
|
|
|
|
|
//
|
|
|
|
|
// textBoxName
|
|
|
|
|
//
|
|
|
|
|
textBoxName.Location = new Point(92, 7);
|
|
|
|
|
textBoxName.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
textBoxName.Name = "textBoxName";
|
|
|
|
|
textBoxName.Size = new Size(252, 23);
|
|
|
|
|
textBoxName.TabIndex = 2;
|
|
|
|
|
//
|
|
|
|
|
// labelAddress
|
|
|
|
|
//
|
|
|
|
|
labelAddress.AutoSize = true;
|
|
|
|
|
labelAddress.Location = new Point(14, 40);
|
|
|
|
|
labelAddress.Margin = new Padding(4, 0, 4, 0);
|
|
|
|
|
labelAddress.Name = "labelAddress";
|
|
|
|
|
labelAddress.Size = new Size(46, 15);
|
|
|
|
|
labelAddress.TabIndex = 3;
|
|
|
|
|
labelAddress.Text = "Адрес :";
|
|
|
|
|
//
|
|
|
|
|
// textBoxAddress
|
|
|
|
|
//
|
|
|
|
|
textBoxAddress.Location = new Point(92, 37);
|
|
|
|
|
textBoxAddress.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
textBoxAddress.Name = "textBoxAddress";
|
|
|
|
|
textBoxAddress.Size = new Size(252, 23);
|
|
|
|
|
textBoxAddress.TabIndex = 4;
|
|
|
|
|
//
|
|
|
|
|
// dateTimePicker
|
|
|
|
|
//
|
|
|
|
|
dateTimePicker.Location = new Point(126, 66);
|
|
|
|
|
dateTimePicker.Name = "dateTimePicker";
|
|
|
|
|
dateTimePicker.Size = new Size(218, 23);
|
|
|
|
|
dateTimePicker.TabIndex = 5;
|
|
|
|
|
//
|
|
|
|
|
// labelOpeningDate
|
|
|
|
|
//
|
|
|
|
|
labelOpeningDate.AutoSize = true;
|
|
|
|
|
labelOpeningDate.Location = new Point(14, 69);
|
|
|
|
|
labelOpeningDate.Margin = new Padding(4, 0, 4, 0);
|
|
|
|
|
labelOpeningDate.Name = "labelOpeningDate";
|
|
|
|
|
labelOpeningDate.Size = new Size(93, 15);
|
|
|
|
|
labelOpeningDate.TabIndex = 6;
|
|
|
|
|
labelOpeningDate.Text = "Дата открытия :";
|
|
|
|
|
//
|
|
|
|
|
// groupBoxRepairs
|
|
|
|
|
//
|
|
|
|
|
groupBoxRepairs.Controls.Add(dataGridView);
|
2024-04-27 22:23:26 +04:00
|
|
|
|
groupBoxRepairs.Location = new Point(5, 138);
|
2024-04-14 02:36:43 +04:00
|
|
|
|
groupBoxRepairs.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
groupBoxRepairs.Name = "groupBoxRepairs";
|
|
|
|
|
groupBoxRepairs.Padding = new Padding(4, 3, 4, 3);
|
|
|
|
|
groupBoxRepairs.Size = new Size(469, 288);
|
|
|
|
|
groupBoxRepairs.TabIndex = 7;
|
|
|
|
|
groupBoxRepairs.TabStop = false;
|
|
|
|
|
groupBoxRepairs.Text = "Ремонт";
|
|
|
|
|
//
|
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
|
|
|
|
dataGridView.AllowUserToAddRows = false;
|
|
|
|
|
dataGridView.AllowUserToDeleteRows = false;
|
|
|
|
|
dataGridView.BackgroundColor = SystemColors.ControlLightLight;
|
|
|
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
dataGridView.Columns.AddRange(new DataGridViewColumn[] { ColumnId, ColumnName, ColumnCount });
|
|
|
|
|
dataGridView.Dock = DockStyle.Left;
|
|
|
|
|
dataGridView.Location = new Point(4, 19);
|
|
|
|
|
dataGridView.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
dataGridView.MultiSelect = false;
|
|
|
|
|
dataGridView.Name = "dataGridView";
|
|
|
|
|
dataGridView.ReadOnly = true;
|
|
|
|
|
dataGridView.RowHeadersVisible = false;
|
|
|
|
|
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
|
|
|
|
dataGridView.Size = new Size(457, 266);
|
|
|
|
|
dataGridView.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// ColumnId
|
|
|
|
|
//
|
|
|
|
|
ColumnId.HeaderText = "Id";
|
|
|
|
|
ColumnId.Name = "ColumnId";
|
|
|
|
|
ColumnId.ReadOnly = true;
|
|
|
|
|
ColumnId.Visible = false;
|
|
|
|
|
//
|
|
|
|
|
// ColumnName
|
|
|
|
|
//
|
|
|
|
|
ColumnName.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
ColumnName.HeaderText = "Название ремонта";
|
|
|
|
|
ColumnName.Name = "ColumnName";
|
|
|
|
|
ColumnName.ReadOnly = true;
|
|
|
|
|
//
|
|
|
|
|
// ColumnCount
|
|
|
|
|
//
|
|
|
|
|
ColumnCount.HeaderText = "Количество";
|
|
|
|
|
ColumnCount.Name = "ColumnCount";
|
|
|
|
|
ColumnCount.ReadOnly = true;
|
|
|
|
|
//
|
|
|
|
|
// buttonSave
|
|
|
|
|
//
|
2024-04-27 22:23:26 +04:00
|
|
|
|
buttonSave.Location = new Point(256, 434);
|
2024-04-14 02:36:43 +04:00
|
|
|
|
buttonSave.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
buttonSave.Name = "buttonSave";
|
|
|
|
|
buttonSave.Size = new Size(88, 27);
|
|
|
|
|
buttonSave.TabIndex = 8;
|
|
|
|
|
buttonSave.Text = "Сохранить";
|
|
|
|
|
buttonSave.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonSave.Click += ButtonSave_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonCancel
|
|
|
|
|
//
|
2024-04-27 22:23:26 +04:00
|
|
|
|
buttonCancel.Location = new Point(360, 434);
|
2024-04-14 02:36:43 +04:00
|
|
|
|
buttonCancel.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
buttonCancel.Name = "buttonCancel";
|
|
|
|
|
buttonCancel.Size = new Size(88, 27);
|
|
|
|
|
buttonCancel.TabIndex = 9;
|
|
|
|
|
buttonCancel.Text = "Отмена";
|
|
|
|
|
buttonCancel.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCancel.Click += ButtonCancel_Click;
|
|
|
|
|
//
|
2024-04-27 22:23:26 +04:00
|
|
|
|
// textBoxMaximum
|
|
|
|
|
//
|
|
|
|
|
textBoxMaximum.Location = new Point(169, 97);
|
|
|
|
|
textBoxMaximum.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
textBoxMaximum.Name = "textBoxMaximum";
|
|
|
|
|
textBoxMaximum.Size = new Size(175, 23);
|
|
|
|
|
textBoxMaximum.TabIndex = 11;
|
|
|
|
|
//
|
|
|
|
|
// labelMaximum
|
|
|
|
|
//
|
|
|
|
|
labelMaximum.AutoSize = true;
|
|
|
|
|
labelMaximum.Location = new Point(14, 100);
|
|
|
|
|
labelMaximum.Margin = new Padding(4, 0, 4, 0);
|
|
|
|
|
labelMaximum.Name = "labelMaximum";
|
|
|
|
|
labelMaximum.Size = new Size(147, 15);
|
|
|
|
|
labelMaximum.TabIndex = 10;
|
|
|
|
|
labelMaximum.Text = "Максимум ремонта :";
|
|
|
|
|
//
|
2024-04-14 02:36:43 +04:00
|
|
|
|
// FormShop
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
2024-04-27 22:23:26 +04:00
|
|
|
|
ClientSize = new Size(478, 468);
|
|
|
|
|
Controls.Add(textBoxMaximum);
|
|
|
|
|
Controls.Add(labelMaximum);
|
2024-04-14 02:36:43 +04:00
|
|
|
|
Controls.Add(buttonCancel);
|
|
|
|
|
Controls.Add(buttonSave);
|
|
|
|
|
Controls.Add(groupBoxRepairs);
|
|
|
|
|
Controls.Add(labelOpeningDate);
|
|
|
|
|
Controls.Add(dateTimePicker);
|
|
|
|
|
Controls.Add(textBoxAddress);
|
|
|
|
|
Controls.Add(labelAddress);
|
|
|
|
|
Controls.Add(textBoxName);
|
|
|
|
|
Controls.Add(labelName);
|
|
|
|
|
Name = "FormShop";
|
|
|
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
|
|
|
Text = "Магазин";
|
|
|
|
|
Load += FormShop_Load;
|
|
|
|
|
groupBoxRepairs.ResumeLayout(false);
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private Label labelName;
|
|
|
|
|
private TextBox textBoxName;
|
|
|
|
|
private Label labelAddress;
|
|
|
|
|
private TextBox textBoxAddress;
|
|
|
|
|
private DateTimePicker dateTimePicker;
|
|
|
|
|
private Label labelOpeningDate;
|
|
|
|
|
private GroupBox groupBoxRepairs;
|
|
|
|
|
private DataGridView dataGridView;
|
|
|
|
|
private DataGridViewTextBoxColumn ColumnId;
|
|
|
|
|
private DataGridViewTextBoxColumn ColumnName;
|
|
|
|
|
private DataGridViewTextBoxColumn ColumnCount;
|
|
|
|
|
private Button buttonSave;
|
|
|
|
|
private Button buttonCancel;
|
2024-04-27 22:23:26 +04:00
|
|
|
|
private TextBox textBoxMaximum;
|
|
|
|
|
private Label labelMaximum;
|
2024-04-14 02:36:43 +04:00
|
|
|
|
}
|
|
|
|
|
}
|