209 lines
9.2 KiB
C#
209 lines
9.2 KiB
C#
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()
|
|
{
|
|
this.dateTimePicker = new System.Windows.Forms.DateTimePicker();
|
|
this.textBoxName = new System.Windows.Forms.TextBox();
|
|
this.textBoxAddress = new System.Windows.Forms.TextBox();
|
|
this.labelTime = new System.Windows.Forms.Label();
|
|
this.labelAddress = new System.Windows.Forms.Label();
|
|
this.dataGridView = new System.Windows.Forms.DataGridView();
|
|
this.ColumnID = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.ColumnManufactureName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Price = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.ColumnCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.labelShop = new System.Windows.Forms.Label();
|
|
this.buttonSave = new System.Windows.Forms.Button();
|
|
this.buttonCancel = new System.Windows.Forms.Button();
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// dateTimePicker
|
|
//
|
|
this.dateTimePicker.Location = new System.Drawing.Point(384, 27);
|
|
this.dateTimePicker.Name = "dateTimePicker";
|
|
this.dateTimePicker.Size = new System.Drawing.Size(207, 23);
|
|
this.dateTimePicker.TabIndex = 26;
|
|
//
|
|
// textBoxName
|
|
//
|
|
this.textBoxName.Location = new System.Drawing.Point(10, 27);
|
|
this.textBoxName.Name = "textBoxName";
|
|
this.textBoxName.Size = new System.Drawing.Size(141, 23);
|
|
this.textBoxName.TabIndex = 25;
|
|
//
|
|
// textBoxAddress
|
|
//
|
|
this.textBoxAddress.Location = new System.Drawing.Point(158, 27);
|
|
this.textBoxAddress.Name = "textBoxAddress";
|
|
this.textBoxAddress.Size = new System.Drawing.Size(221, 23);
|
|
this.textBoxAddress.TabIndex = 24;
|
|
//
|
|
// labelTime
|
|
//
|
|
this.labelTime.AutoSize = true;
|
|
this.labelTime.Location = new System.Drawing.Point(384, 9);
|
|
this.labelTime.Name = "labelTime";
|
|
this.labelTime.Size = new System.Drawing.Size(87, 15);
|
|
this.labelTime.TabIndex = 23;
|
|
this.labelTime.Text = "Дата открытия";
|
|
//
|
|
// labelAddress
|
|
//
|
|
this.labelAddress.AutoSize = true;
|
|
this.labelAddress.Location = new System.Drawing.Point(158, 9);
|
|
this.labelAddress.Name = "labelAddress";
|
|
this.labelAddress.Size = new System.Drawing.Size(40, 15);
|
|
this.labelAddress.TabIndex = 22;
|
|
this.labelAddress.Text = "Адрес";
|
|
//
|
|
// dataGridView
|
|
//
|
|
this.dataGridView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.ColumnID,
|
|
this.ColumnManufactureName,
|
|
this.Price,
|
|
this.ColumnCount});
|
|
this.dataGridView.Location = new System.Drawing.Point(10, 56);
|
|
this.dataGridView.Name = "dataGridView";
|
|
this.dataGridView.RowHeadersWidth = 62;
|
|
this.dataGridView.RowTemplate.Height = 25;
|
|
this.dataGridView.Size = new System.Drawing.Size(581, 327);
|
|
this.dataGridView.TabIndex = 21;
|
|
//
|
|
// ColumnID
|
|
//
|
|
this.ColumnID.HeaderText = "ID";
|
|
this.ColumnID.MinimumWidth = 8;
|
|
this.ColumnID.Name = "ColumnID";
|
|
this.ColumnID.Visible = false;
|
|
this.ColumnID.Width = 150;
|
|
//
|
|
// ColumnManufactureName
|
|
//
|
|
this.ColumnManufactureName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.ColumnManufactureName.HeaderText = "Название компьютера";
|
|
this.ColumnManufactureName.MinimumWidth = 8;
|
|
this.ColumnManufactureName.Name = "ColumnManufactureName";
|
|
//
|
|
// Price
|
|
//
|
|
this.Price.HeaderText = "Цена";
|
|
this.Price.MinimumWidth = 6;
|
|
this.Price.Name = "Price";
|
|
this.Price.Width = 125;
|
|
//
|
|
// ColumnCount
|
|
//
|
|
this.ColumnCount.HeaderText = "Количество";
|
|
this.ColumnCount.MinimumWidth = 8;
|
|
this.ColumnCount.Name = "ColumnCount";
|
|
this.ColumnCount.Width = 150;
|
|
//
|
|
// labelShop
|
|
//
|
|
this.labelShop.AutoSize = true;
|
|
this.labelShop.Location = new System.Drawing.Point(10, 9);
|
|
this.labelShop.Name = "labelShop";
|
|
this.labelShop.Size = new System.Drawing.Size(54, 15);
|
|
this.labelShop.TabIndex = 20;
|
|
this.labelShop.Text = "Магазин";
|
|
//
|
|
// buttonSave
|
|
//
|
|
this.buttonSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.buttonSave.Location = new System.Drawing.Point(363, 392);
|
|
this.buttonSave.Name = "buttonSave";
|
|
this.buttonSave.Size = new System.Drawing.Size(120, 22);
|
|
this.buttonSave.TabIndex = 28;
|
|
this.buttonSave.Text = "Сохранить";
|
|
this.buttonSave.UseVisualStyleBackColor = true;
|
|
this.buttonSave.Click += ButtonSave_Click;
|
|
//
|
|
// buttonCancel
|
|
//
|
|
this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.buttonCancel.Location = new System.Drawing.Point(488, 392);
|
|
this.buttonCancel.Name = "buttonCancel";
|
|
this.buttonCancel.Size = new System.Drawing.Size(103, 22);
|
|
this.buttonCancel.TabIndex = 27;
|
|
this.buttonCancel.Text = "Отмена";
|
|
this.buttonCancel.UseVisualStyleBackColor = true;
|
|
this.buttonCancel.Click += ButtonCancel_Click;
|
|
//
|
|
// FormShop
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(616, 425);
|
|
this.Controls.Add(this.buttonSave);
|
|
this.Controls.Add(this.buttonCancel);
|
|
this.Controls.Add(this.dateTimePicker);
|
|
this.Controls.Add(this.textBoxName);
|
|
this.Controls.Add(this.textBoxAddress);
|
|
this.Controls.Add(this.labelTime);
|
|
this.Controls.Add(this.labelAddress);
|
|
this.Controls.Add(this.dataGridView);
|
|
this.Controls.Add(this.labelShop);
|
|
this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
this.Name = "FormShop";
|
|
this.Text = "Магазин";
|
|
Load += FormShop_Load;
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
private void ButtonCancel_Click1(object sender, EventArgs e)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private DateTimePicker dateTimePicker;
|
|
private TextBox textBoxName;
|
|
private TextBox textBoxAddress;
|
|
private Label labelTime;
|
|
private Label labelAddress;
|
|
private DataGridView dataGridView;
|
|
private Label labelShop;
|
|
private Button buttonSave;
|
|
private Button buttonCancel;
|
|
private DataGridViewTextBoxColumn ColumnID;
|
|
private DataGridViewTextBoxColumn ColumnManufactureName;
|
|
private DataGridViewTextBoxColumn Price;
|
|
private DataGridViewTextBoxColumn ColumnCount;
|
|
}
|
|
} |