PIbd-23-Volkov-N.A.-Compute.../ComputersShop/ComputersShopView/FormShop.Designer.cs

222 lines
8.4 KiB
C#
Raw Permalink Normal View History

2024-02-18 12:22:10 +04:00
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()
{
2024-03-18 20:59:24 +04:00
labelShop = new Label();
labelAddress = new Label();
labelDate = new Label();
textBoxName = new TextBox();
textBoxAddress = new TextBox();
dateTimePicker = new DateTimePicker();
dataGridView = new DataGridView();
ButtonSave = new Button();
ButtonCancel = new Button();
numericUpDownCapacity = new NumericUpDown();
labelCapacity = new Label();
ID = new DataGridViewTextBoxColumn();
DocumentName = new DataGridViewTextBoxColumn();
Price = new DataGridViewTextBoxColumn();
Count = new DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
((System.ComponentModel.ISupportInitialize)numericUpDownCapacity).BeginInit();
SuspendLayout();
2024-02-18 12:22:10 +04:00
//
2024-03-18 20:59:24 +04:00
// labelShop
2024-02-18 12:22:10 +04:00
//
2024-03-18 20:59:24 +04:00
labelShop.AutoSize = true;
labelShop.Location = new Point(10, 16);
labelShop.Name = "labelShop";
labelShop.Size = new Size(54, 15);
labelShop.TabIndex = 0;
labelShop.Text = "Магазин";
2024-02-18 12:22:10 +04:00
//
2024-03-18 20:59:24 +04:00
// labelAddress
2024-02-18 12:22:10 +04:00
//
2024-03-18 20:59:24 +04:00
labelAddress.AutoSize = true;
labelAddress.Location = new Point(156, 16);
labelAddress.Name = "labelAddress";
labelAddress.Size = new Size(40, 15);
labelAddress.TabIndex = 1;
labelAddress.Text = "Адрес";
2024-02-18 12:22:10 +04:00
//
2024-03-18 20:59:24 +04:00
// labelDate
2024-02-18 12:22:10 +04:00
//
2024-03-18 20:59:24 +04:00
labelDate.AutoSize = true;
labelDate.Location = new Point(375, 16);
labelDate.Name = "labelDate";
labelDate.Size = new Size(87, 15);
labelDate.TabIndex = 2;
labelDate.Text = "Дата открытия";
2024-02-18 12:22:10 +04:00
//
2024-03-18 20:59:24 +04:00
// textBoxName
2024-02-18 12:22:10 +04:00
//
2024-03-18 20:59:24 +04:00
textBoxName.Location = new Point(10, 33);
textBoxName.Margin = new Padding(3, 2, 3, 2);
textBoxName.Name = "textBoxName";
textBoxName.Size = new Size(140, 23);
textBoxName.TabIndex = 3;
2024-02-18 12:22:10 +04:00
//
2024-03-18 20:59:24 +04:00
// textBoxAddress
2024-02-18 12:22:10 +04:00
//
2024-03-18 20:59:24 +04:00
textBoxAddress.Location = new Point(156, 33);
textBoxAddress.Margin = new Padding(3, 2, 3, 2);
textBoxAddress.Name = "textBoxAddress";
textBoxAddress.Size = new Size(216, 23);
textBoxAddress.TabIndex = 4;
2024-02-18 12:22:10 +04:00
//
2024-03-18 20:59:24 +04:00
// dateTimePicker
2024-02-18 12:22:10 +04:00
//
2024-03-18 20:59:24 +04:00
dateTimePicker.Location = new Point(375, 33);
dateTimePicker.Margin = new Padding(3, 2, 3, 2);
dateTimePicker.Name = "dateTimePicker";
dateTimePicker.Size = new Size(123, 23);
dateTimePicker.TabIndex = 5;
2024-02-18 12:22:10 +04:00
//
2024-03-18 20:59:24 +04:00
// dataGridView
2024-02-18 12:22:10 +04:00
//
2024-03-18 20:59:24 +04:00
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
dataGridView.Columns.AddRange(new DataGridViewColumn[] { ID, DocumentName, Price, Count });
dataGridView.Location = new Point(10, 58);
dataGridView.Margin = new Padding(3, 2, 3, 2);
dataGridView.Name = "dataGridView";
dataGridView.RowHeadersWidth = 51;
dataGridView.RowTemplate.Height = 29;
dataGridView.Size = new Size(623, 248);
dataGridView.TabIndex = 6;
//
// ButtonSave
//
ButtonSave.Location = new Point(429, 310);
ButtonSave.Margin = new Padding(3, 2, 3, 2);
ButtonSave.Name = "ButtonSave";
ButtonSave.Size = new Size(97, 22);
ButtonSave.TabIndex = 7;
ButtonSave.Text = "Сохранить";
ButtonSave.UseVisualStyleBackColor = true;
ButtonSave.Click += ButtonSave_Click;
//
// ButtonCancel
//
ButtonCancel.Location = new Point(551, 310);
ButtonCancel.Margin = new Padding(3, 2, 3, 2);
ButtonCancel.Name = "ButtonCancel";
ButtonCancel.Size = new Size(82, 22);
ButtonCancel.TabIndex = 8;
ButtonCancel.Text = "Отмена";
ButtonCancel.UseVisualStyleBackColor = true;
ButtonCancel.Click += ButtonCancel_Click;
//
// numericUpDownCapacity
//
numericUpDownCapacity.Location = new Point(513, 33);
numericUpDownCapacity.Name = "numericUpDownCapacity";
numericUpDownCapacity.Size = new Size(120, 23);
numericUpDownCapacity.TabIndex = 9;
//
// labelCapacity
//
labelCapacity.AutoSize = true;
labelCapacity.Location = new Point(513, 16);
labelCapacity.Name = "labelCapacity";
labelCapacity.Size = new Size(80, 15);
labelCapacity.TabIndex = 10;
labelCapacity.Text = "Вместимость";
//
// ID
//
ID.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
ID.HeaderText = "ID";
ID.MinimumWidth = 6;
ID.Name = "ID";
ID.Visible = false;
//
// DocumentName
//
DocumentName.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
DocumentName.HeaderText = "Название компьютера";
DocumentName.MinimumWidth = 6;
DocumentName.Name = "DocumentName";
2024-02-18 12:22:10 +04:00
//
2024-03-18 20:59:24 +04:00
// Price
2024-02-18 12:22:10 +04:00
//
2024-03-18 20:59:24 +04:00
Price.HeaderText = "Стоимость";
Price.Name = "Price";
2024-02-18 12:22:10 +04:00
//
2024-03-18 20:59:24 +04:00
// Count
2024-02-18 12:22:10 +04:00
//
2024-03-18 20:59:24 +04:00
Count.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
Count.HeaderText = "Количество";
Count.MinimumWidth = 6;
Count.Name = "Count";
2024-02-18 12:22:10 +04:00
//
// FormShop
//
2024-03-18 20:59:24 +04:00
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(648, 338);
Controls.Add(labelCapacity);
Controls.Add(numericUpDownCapacity);
Controls.Add(ButtonCancel);
Controls.Add(ButtonSave);
Controls.Add(dataGridView);
Controls.Add(dateTimePicker);
Controls.Add(textBoxAddress);
Controls.Add(textBoxName);
Controls.Add(labelDate);
Controls.Add(labelAddress);
Controls.Add(labelShop);
Margin = new Padding(3, 2, 3, 2);
Name = "FormShop";
Text = "Магазин";
2024-03-18 16:08:47 +04:00
Load += FormShop_Load;
2024-03-18 20:59:24 +04:00
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
((System.ComponentModel.ISupportInitialize)numericUpDownCapacity).EndInit();
ResumeLayout(false);
PerformLayout();
2024-02-20 12:41:10 +04:00
}
2024-02-18 12:22:10 +04:00
#endregion
2024-03-18 20:59:24 +04:00
private Label labelShop;
private Label labelAddress;
private Label labelDate;
2024-02-18 12:22:10 +04:00
private TextBox textBoxName;
private TextBox textBoxAddress;
2024-03-18 20:59:24 +04:00
private DateTimePicker dateTimePicker;
2024-02-18 12:22:10 +04:00
private DataGridView dataGridView;
2024-03-18 20:59:24 +04:00
private Button ButtonSave;
private Button ButtonCancel;
private NumericUpDown numericUpDownCapacity;
private Label labelCapacity;
private DataGridViewTextBoxColumn ID;
private DataGridViewTextBoxColumn DocumentName;
2024-02-18 12:22:10 +04:00
private DataGridViewTextBoxColumn Price;
2024-03-18 20:59:24 +04:00
private DataGridViewTextBoxColumn Count;
2024-02-18 12:22:10 +04:00
}
}