189 lines
5.5 KiB
C#
189 lines
5.5 KiB
C#
namespace ShipyardView
|
|
{
|
|
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();
|
|
dateTimePickerDateOpen = new DateTimePicker();
|
|
dataGridView = new DataGridView();
|
|
ButtonSave = new Button();
|
|
ButtonCancel = new Button();
|
|
ID = new DataGridViewTextBoxColumn();
|
|
ShipName = new DataGridViewTextBoxColumn();
|
|
Count = new DataGridViewTextBoxColumn();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// labelShop
|
|
//
|
|
labelShop.AutoSize = true;
|
|
labelShop.Location = new Point(12, 21);
|
|
labelShop.Name = "labelShop";
|
|
labelShop.Size = new Size(69, 20);
|
|
labelShop.TabIndex = 0;
|
|
labelShop.Text = "Магазин";
|
|
//
|
|
// labelAddress
|
|
//
|
|
labelAddress.AutoSize = true;
|
|
labelAddress.Location = new Point(195, 21);
|
|
labelAddress.Name = "labelAddress";
|
|
labelAddress.Size = new Size(51, 20);
|
|
labelAddress.TabIndex = 1;
|
|
labelAddress.Text = "Адрес";
|
|
//
|
|
// labelDate
|
|
//
|
|
labelDate.AutoSize = true;
|
|
labelDate.Location = new Point(474, 21);
|
|
labelDate.Name = "labelDate";
|
|
labelDate.Size = new Size(110, 20);
|
|
labelDate.TabIndex = 2;
|
|
labelDate.Text = "Дата открытия";
|
|
//
|
|
// textBoxName
|
|
//
|
|
textBoxName.Location = new Point(12, 44);
|
|
textBoxName.Name = "textBoxName";
|
|
textBoxName.Size = new Size(160, 27);
|
|
textBoxName.TabIndex = 3;
|
|
//
|
|
// textBoxAddress
|
|
//
|
|
textBoxAddress.Location = new Point(195, 44);
|
|
textBoxAddress.Name = "textBoxAddress";
|
|
textBoxAddress.Size = new Size(246, 27);
|
|
textBoxAddress.TabIndex = 4;
|
|
//
|
|
// dateTimePickerDateOpen
|
|
//
|
|
dateTimePickerDateOpen.Location = new Point(474, 44);
|
|
dateTimePickerDateOpen.Name = "dateTimePickerDateOpen";
|
|
dateTimePickerDateOpen.Size = new Size(250, 27);
|
|
dateTimePickerDateOpen.TabIndex = 5;
|
|
//
|
|
// dataGridView
|
|
//
|
|
dataGridView.AllowUserToAddRows = false;
|
|
dataGridView.AllowUserToDeleteRows = false;
|
|
dataGridView.AllowUserToResizeColumns = false;
|
|
dataGridView.AllowUserToResizeRows = false;
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridView.Columns.AddRange(new DataGridViewColumn[] { ID, ShipName, Count });
|
|
dataGridView.Location = new Point(12, 77);
|
|
dataGridView.Name = "dataGridView";
|
|
dataGridView.RowHeadersVisible = false;
|
|
dataGridView.RowHeadersWidth = 51;
|
|
dataGridView.RowTemplate.Height = 29;
|
|
dataGridView.Size = new Size(712, 330);
|
|
dataGridView.TabIndex = 6;
|
|
//
|
|
// ButtonSave
|
|
//
|
|
ButtonSave.Location = new Point(490, 413);
|
|
ButtonSave.Name = "ButtonSave";
|
|
ButtonSave.Size = new Size(111, 29);
|
|
ButtonSave.TabIndex = 7;
|
|
ButtonSave.Text = "Сохранить";
|
|
ButtonSave.UseVisualStyleBackColor = true;
|
|
ButtonSave.Click += ButtonSave_Click;
|
|
//
|
|
// ButtonCancel
|
|
//
|
|
ButtonCancel.Location = new Point(630, 413);
|
|
ButtonCancel.Name = "ButtonCancel";
|
|
ButtonCancel.Size = new Size(94, 29);
|
|
ButtonCancel.TabIndex = 8;
|
|
ButtonCancel.Text = "Отмена";
|
|
ButtonCancel.UseVisualStyleBackColor = true;
|
|
ButtonCancel.Click += ButtonCancel_Click;
|
|
//
|
|
// ID
|
|
//
|
|
ID.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
|
ID.HeaderText = "ID";
|
|
ID.MinimumWidth = 6;
|
|
ID.Name = "ID";
|
|
ID.Visible = false;
|
|
//
|
|
// ShipName
|
|
//
|
|
ShipName.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
|
ShipName.HeaderText = "Название корабля";
|
|
ShipName.MinimumWidth = 6;
|
|
ShipName.Name = "ShipName";
|
|
//
|
|
// Count
|
|
//
|
|
Count.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
|
Count.HeaderText = "Количество";
|
|
Count.MinimumWidth = 6;
|
|
Count.Name = "Count";
|
|
//
|
|
// FormShop
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(740, 450);
|
|
Controls.Add(ButtonCancel);
|
|
Controls.Add(ButtonSave);
|
|
Controls.Add(dataGridView);
|
|
Controls.Add(dateTimePickerDateOpen);
|
|
Controls.Add(textBoxAddress);
|
|
Controls.Add(textBoxName);
|
|
Controls.Add(labelDate);
|
|
Controls.Add(labelAddress);
|
|
Controls.Add(labelShop);
|
|
Name = "FormShop";
|
|
Text = "Магазин";
|
|
Load += FormShop_Load;
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label labelShop;
|
|
private Label labelAddress;
|
|
private Label labelDate;
|
|
private TextBox textBoxName;
|
|
private TextBox textBoxAddress;
|
|
private DateTimePicker dateTimePickerDateOpen;
|
|
private DataGridView dataGridView;
|
|
private Button ButtonSave;
|
|
private Button ButtonCancel;
|
|
private DataGridViewTextBoxColumn ID;
|
|
private DataGridViewTextBoxColumn ShipName;
|
|
private DataGridViewTextBoxColumn Count;
|
|
}
|
|
} |