2024-04-12 20:16:02 +04:00
|
|
|
|
namespace PlumbingRepairView
|
|
|
|
|
{
|
|
|
|
|
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()
|
|
|
|
|
{
|
|
|
|
|
this.textBoxAddress = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.labelAddress = new System.Windows.Forms.Label();
|
|
|
|
|
this.buttonCancel = new System.Windows.Forms.Button();
|
|
|
|
|
this.buttonSave = new System.Windows.Forms.Button();
|
|
|
|
|
this.textBoxName = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.labelName = new System.Windows.Forms.Label();
|
|
|
|
|
this.dateTimePickerOpening = new System.Windows.Forms.DateTimePicker();
|
|
|
|
|
this.groupBoxComponents = new System.Windows.Forms.GroupBox();
|
|
|
|
|
this.dataGridView = new System.Windows.Forms.DataGridView();
|
|
|
|
|
this.ColumnId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.ColumnName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.ColumnCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
|
|
this.labelDateOpening = new System.Windows.Forms.Label();
|
2024-04-12 20:55:05 +04:00
|
|
|
|
this.textBoxMaxCount = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.labelMaxCount = new System.Windows.Forms.Label();
|
2024-04-12 20:16:02 +04:00
|
|
|
|
this.groupBoxComponents.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
|
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// textBoxAddress
|
|
|
|
|
//
|
2024-04-12 20:55:05 +04:00
|
|
|
|
this.textBoxAddress.Location = new System.Drawing.Point(310, 49);
|
2024-04-12 20:16:02 +04:00
|
|
|
|
this.textBoxAddress.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
|
|
|
|
this.textBoxAddress.Name = "textBoxAddress";
|
|
|
|
|
this.textBoxAddress.Size = new System.Drawing.Size(183, 31);
|
|
|
|
|
this.textBoxAddress.TabIndex = 15;
|
|
|
|
|
//
|
|
|
|
|
// labelAddress
|
|
|
|
|
//
|
|
|
|
|
this.labelAddress.AutoSize = true;
|
2024-04-12 20:55:05 +04:00
|
|
|
|
this.labelAddress.Location = new System.Drawing.Point(8, 52);
|
2024-04-12 20:16:02 +04:00
|
|
|
|
this.labelAddress.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
|
|
|
|
|
this.labelAddress.Name = "labelAddress";
|
|
|
|
|
this.labelAddress.Size = new System.Drawing.Size(66, 25);
|
|
|
|
|
this.labelAddress.TabIndex = 14;
|
|
|
|
|
this.labelAddress.Text = "Адрес:";
|
|
|
|
|
//
|
|
|
|
|
// buttonCancel
|
|
|
|
|
//
|
|
|
|
|
this.buttonCancel.Location = new System.Drawing.Point(633, 149);
|
|
|
|
|
this.buttonCancel.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
|
|
|
|
this.buttonCancel.Name = "buttonCancel";
|
|
|
|
|
this.buttonCancel.Size = new System.Drawing.Size(126, 45);
|
|
|
|
|
this.buttonCancel.TabIndex = 17;
|
|
|
|
|
this.buttonCancel.Text = "Отмена";
|
|
|
|
|
this.buttonCancel.UseVisualStyleBackColor = true;
|
|
|
|
|
this.buttonCancel.Click += new System.EventHandler(this.ButtonCancel_Click);
|
|
|
|
|
//
|
|
|
|
|
// buttonSave
|
|
|
|
|
//
|
|
|
|
|
this.buttonSave.Location = new System.Drawing.Point(633, 50);
|
|
|
|
|
this.buttonSave.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
|
|
|
|
this.buttonSave.Name = "buttonSave";
|
|
|
|
|
this.buttonSave.Size = new System.Drawing.Size(126, 45);
|
|
|
|
|
this.buttonSave.TabIndex = 16;
|
|
|
|
|
this.buttonSave.Text = "Сохранить";
|
|
|
|
|
this.buttonSave.UseVisualStyleBackColor = true;
|
|
|
|
|
this.buttonSave.Click += new System.EventHandler(this.ButtonSave_Click);
|
|
|
|
|
//
|
|
|
|
|
// textBoxName
|
|
|
|
|
//
|
2024-04-12 20:55:05 +04:00
|
|
|
|
this.textBoxName.Location = new System.Drawing.Point(310, 1);
|
2024-04-12 20:16:02 +04:00
|
|
|
|
this.textBoxName.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
|
|
|
|
this.textBoxName.Name = "textBoxName";
|
|
|
|
|
this.textBoxName.Size = new System.Drawing.Size(358, 31);
|
|
|
|
|
this.textBoxName.TabIndex = 13;
|
|
|
|
|
//
|
|
|
|
|
// labelName
|
|
|
|
|
//
|
|
|
|
|
this.labelName.AutoSize = true;
|
2024-04-12 20:55:05 +04:00
|
|
|
|
this.labelName.Location = new System.Drawing.Point(8, 7);
|
2024-04-12 20:16:02 +04:00
|
|
|
|
this.labelName.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
|
|
|
|
|
this.labelName.Name = "labelName";
|
|
|
|
|
this.labelName.Size = new System.Drawing.Size(94, 25);
|
|
|
|
|
this.labelName.TabIndex = 12;
|
|
|
|
|
this.labelName.Text = "Название:";
|
|
|
|
|
//
|
|
|
|
|
// dateTimePickerOpening
|
|
|
|
|
//
|
2024-04-12 20:55:05 +04:00
|
|
|
|
this.dateTimePickerOpening.Location = new System.Drawing.Point(152, 133);
|
2024-04-12 20:16:02 +04:00
|
|
|
|
this.dateTimePickerOpening.Name = "dateTimePickerOpening";
|
|
|
|
|
this.dateTimePickerOpening.Size = new System.Drawing.Size(300, 31);
|
|
|
|
|
this.dateTimePickerOpening.TabIndex = 18;
|
|
|
|
|
//
|
|
|
|
|
// groupBoxComponents
|
|
|
|
|
//
|
|
|
|
|
this.groupBoxComponents.Controls.Add(this.dataGridView);
|
|
|
|
|
this.groupBoxComponents.Controls.Add(this.buttonSave);
|
|
|
|
|
this.groupBoxComponents.Controls.Add(this.buttonCancel);
|
2024-04-12 20:55:05 +04:00
|
|
|
|
this.groupBoxComponents.Location = new System.Drawing.Point(8, 183);
|
2024-04-12 20:16:02 +04:00
|
|
|
|
this.groupBoxComponents.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
|
|
|
|
this.groupBoxComponents.Name = "groupBoxComponents";
|
|
|
|
|
this.groupBoxComponents.Padding = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
|
|
|
|
this.groupBoxComponents.Size = new System.Drawing.Size(797, 379);
|
|
|
|
|
this.groupBoxComponents.TabIndex = 19;
|
|
|
|
|
this.groupBoxComponents.TabStop = false;
|
|
|
|
|
this.groupBoxComponents.Text = "Компоненты";
|
|
|
|
|
//
|
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
|
|
|
|
this.dataGridView.AllowUserToAddRows = false;
|
|
|
|
|
this.dataGridView.AllowUserToDeleteRows = false;
|
|
|
|
|
this.dataGridView.BackgroundColor = System.Drawing.SystemColors.ControlLightLight;
|
|
|
|
|
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
|
|
this.ColumnId,
|
|
|
|
|
this.ColumnName,
|
|
|
|
|
this.ColumnCount});
|
|
|
|
|
this.dataGridView.Dock = System.Windows.Forms.DockStyle.Left;
|
|
|
|
|
this.dataGridView.Location = new System.Drawing.Point(6, 29);
|
|
|
|
|
this.dataGridView.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
|
|
|
|
this.dataGridView.MultiSelect = false;
|
|
|
|
|
this.dataGridView.Name = "dataGridView";
|
|
|
|
|
this.dataGridView.ReadOnly = true;
|
|
|
|
|
this.dataGridView.RowHeadersVisible = false;
|
|
|
|
|
this.dataGridView.RowHeadersWidth = 62;
|
|
|
|
|
this.dataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
|
|
|
this.dataGridView.Size = new System.Drawing.Size(583, 345);
|
|
|
|
|
this.dataGridView.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// ColumnId
|
|
|
|
|
//
|
|
|
|
|
this.ColumnId.HeaderText = "Id";
|
|
|
|
|
this.ColumnId.MinimumWidth = 8;
|
|
|
|
|
this.ColumnId.Name = "ColumnId";
|
|
|
|
|
this.ColumnId.ReadOnly = true;
|
|
|
|
|
this.ColumnId.Visible = false;
|
|
|
|
|
this.ColumnId.Width = 150;
|
|
|
|
|
//
|
|
|
|
|
// ColumnName
|
|
|
|
|
//
|
|
|
|
|
this.ColumnName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
this.ColumnName.HeaderText = "Работа";
|
|
|
|
|
this.ColumnName.MinimumWidth = 8;
|
|
|
|
|
this.ColumnName.Name = "ColumnName";
|
|
|
|
|
this.ColumnName.ReadOnly = true;
|
|
|
|
|
//
|
|
|
|
|
// ColumnCount
|
|
|
|
|
//
|
|
|
|
|
this.ColumnCount.HeaderText = "Количество";
|
|
|
|
|
this.ColumnCount.MinimumWidth = 8;
|
|
|
|
|
this.ColumnCount.Name = "ColumnCount";
|
|
|
|
|
this.ColumnCount.ReadOnly = true;
|
|
|
|
|
this.ColumnCount.Width = 150;
|
|
|
|
|
//
|
|
|
|
|
// labelDateOpening
|
|
|
|
|
//
|
|
|
|
|
this.labelDateOpening.AutoSize = true;
|
2024-04-12 20:55:05 +04:00
|
|
|
|
this.labelDateOpening.Location = new System.Drawing.Point(8, 133);
|
2024-04-12 20:16:02 +04:00
|
|
|
|
this.labelDateOpening.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
|
|
|
|
|
this.labelDateOpening.Name = "labelDateOpening";
|
|
|
|
|
this.labelDateOpening.Size = new System.Drawing.Size(135, 25);
|
|
|
|
|
this.labelDateOpening.TabIndex = 20;
|
|
|
|
|
this.labelDateOpening.Text = "Дата открытия:";
|
|
|
|
|
//
|
2024-04-12 20:55:05 +04:00
|
|
|
|
// textBoxMaxCount
|
|
|
|
|
//
|
|
|
|
|
this.textBoxMaxCount.Location = new System.Drawing.Point(310, 94);
|
|
|
|
|
this.textBoxMaxCount.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
|
|
|
|
this.textBoxMaxCount.Name = "textBoxMaxCount";
|
|
|
|
|
this.textBoxMaxCount.Size = new System.Drawing.Size(183, 31);
|
|
|
|
|
this.textBoxMaxCount.TabIndex = 22;
|
|
|
|
|
//
|
|
|
|
|
// labelMaxCount
|
|
|
|
|
//
|
|
|
|
|
this.labelMaxCount.AutoSize = true;
|
|
|
|
|
this.labelMaxCount.Location = new System.Drawing.Point(8, 93);
|
|
|
|
|
this.labelMaxCount.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
|
|
|
|
|
this.labelMaxCount.Name = "labelMaxCount";
|
|
|
|
|
this.labelMaxCount.Size = new System.Drawing.Size(290, 25);
|
|
|
|
|
this.labelMaxCount.TabIndex = 21;
|
|
|
|
|
this.labelMaxCount.Text = "Максимальное количество работ:";
|
|
|
|
|
//
|
2024-04-12 20:16:02 +04:00
|
|
|
|
// FormShop
|
|
|
|
|
//
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 25F);
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
2024-04-12 20:55:05 +04:00
|
|
|
|
this.ClientSize = new System.Drawing.Size(812, 564);
|
|
|
|
|
this.Controls.Add(this.textBoxMaxCount);
|
|
|
|
|
this.Controls.Add(this.labelMaxCount);
|
2024-04-12 20:16:02 +04:00
|
|
|
|
this.Controls.Add(this.labelDateOpening);
|
|
|
|
|
this.Controls.Add(this.groupBoxComponents);
|
|
|
|
|
this.Controls.Add(this.dateTimePickerOpening);
|
|
|
|
|
this.Controls.Add(this.textBoxAddress);
|
|
|
|
|
this.Controls.Add(this.labelAddress);
|
|
|
|
|
this.Controls.Add(this.textBoxName);
|
|
|
|
|
this.Controls.Add(this.labelName);
|
|
|
|
|
this.Name = "FormShop";
|
|
|
|
|
this.Text = "Магазин";
|
|
|
|
|
this.Load += new System.EventHandler(this.FormShop_Load);
|
|
|
|
|
this.groupBoxComponents.ResumeLayout(false);
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
|
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
this.PerformLayout();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private TextBox textBoxAddress;
|
|
|
|
|
private Label labelAddress;
|
|
|
|
|
private Button buttonCancel;
|
|
|
|
|
private Button buttonSave;
|
|
|
|
|
private TextBox textBoxName;
|
|
|
|
|
private Label labelName;
|
|
|
|
|
private DateTimePicker dateTimePickerOpening;
|
|
|
|
|
private GroupBox groupBoxComponents;
|
|
|
|
|
private DataGridView dataGridView;
|
|
|
|
|
private DataGridViewTextBoxColumn ColumnId;
|
|
|
|
|
private DataGridViewTextBoxColumn ColumnName;
|
|
|
|
|
private DataGridViewTextBoxColumn ColumnCount;
|
|
|
|
|
private Label labelDateOpening;
|
2024-04-12 20:55:05 +04:00
|
|
|
|
private TextBox textBoxMaxCount;
|
|
|
|
|
private Label labelMaxCount;
|
2024-04-12 20:16:02 +04:00
|
|
|
|
}
|
|
|
|
|
}
|