193 lines
6.8 KiB
C#
193 lines
6.8 KiB
C#
namespace ProjectFlowerShop
|
|
{
|
|
partial class ShopForm
|
|
{
|
|
/// <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()
|
|
{
|
|
DataGridView = new DataGridView();
|
|
buttonSave = new Button();
|
|
buttonCancel = new Button();
|
|
textBoxName = new TextBox();
|
|
textBoxAddress = new TextBox();
|
|
labelName = new Label();
|
|
labelAddress = new Label();
|
|
DateTimePicker = new DateTimePicker();
|
|
labelDate = new Label();
|
|
ColumnID = new DataGridViewTextBoxColumn();
|
|
Name = new DataGridViewTextBoxColumn();
|
|
Price = new DataGridViewTextBoxColumn();
|
|
Number = new DataGridViewTextBoxColumn();
|
|
((System.ComponentModel.ISupportInitialize)DataGridView).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// DataGridView
|
|
//
|
|
DataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
DataGridView.Columns.AddRange(new DataGridViewColumn[] { ColumnID, Name, Price, Number });
|
|
DataGridView.Location = new Point(21, 12);
|
|
DataGridView.Name = "DataGridView";
|
|
DataGridView.RowHeadersWidth = 51;
|
|
DataGridView.RowTemplate.Height = 29;
|
|
DataGridView.Size = new Size(397, 305);
|
|
DataGridView.TabIndex = 0;
|
|
//
|
|
// buttonSave
|
|
//
|
|
buttonSave.Location = new Point(424, 288);
|
|
buttonSave.Name = "buttonSave";
|
|
buttonSave.Size = new Size(123, 29);
|
|
buttonSave.TabIndex = 1;
|
|
buttonSave.Text = "Сохранить";
|
|
buttonSave.UseVisualStyleBackColor = true;
|
|
buttonSave.Click += buttonSave_Click;
|
|
//
|
|
// buttonCancel
|
|
//
|
|
buttonCancel.Location = new Point(553, 288);
|
|
buttonCancel.Name = "buttonCancel";
|
|
buttonCancel.Size = new Size(116, 29);
|
|
buttonCancel.TabIndex = 2;
|
|
buttonCancel.Text = "Отмена";
|
|
buttonCancel.UseVisualStyleBackColor = true;
|
|
buttonCancel.Click += buttonCancel_Click;
|
|
//
|
|
// textBoxName
|
|
//
|
|
textBoxName.Location = new Point(424, 34);
|
|
textBoxName.Name = "textBoxName";
|
|
textBoxName.Size = new Size(245, 27);
|
|
textBoxName.TabIndex = 3;
|
|
//
|
|
// textBoxAddress
|
|
//
|
|
textBoxAddress.Location = new Point(424, 95);
|
|
textBoxAddress.Name = "textBoxAddress";
|
|
textBoxAddress.Size = new Size(245, 27);
|
|
textBoxAddress.TabIndex = 4;
|
|
//
|
|
// labelName
|
|
//
|
|
labelName.AutoSize = true;
|
|
labelName.Location = new Point(424, 12);
|
|
labelName.Name = "labelName";
|
|
labelName.Size = new Size(77, 20);
|
|
labelName.TabIndex = 5;
|
|
labelName.Text = "Название";
|
|
//
|
|
// labelAddress
|
|
//
|
|
labelAddress.AutoSize = true;
|
|
labelAddress.Location = new Point(424, 72);
|
|
labelAddress.Name = "labelAddress";
|
|
labelAddress.Size = new Size(51, 20);
|
|
labelAddress.TabIndex = 6;
|
|
labelAddress.Text = "Адрес";
|
|
//
|
|
// DateTimePicker
|
|
//
|
|
DateTimePicker.Location = new Point(424, 148);
|
|
DateTimePicker.Name = "DateTimePicker";
|
|
DateTimePicker.Size = new Size(245, 27);
|
|
DateTimePicker.TabIndex = 7;
|
|
//
|
|
// labelDate
|
|
//
|
|
labelDate.AutoSize = true;
|
|
labelDate.Location = new Point(424, 125);
|
|
labelDate.Name = "labelDate";
|
|
labelDate.Size = new Size(41, 20);
|
|
labelDate.TabIndex = 8;
|
|
labelDate.Text = "Дата";
|
|
//
|
|
// ColumnID
|
|
//
|
|
ColumnID.HeaderText = "ColumnID";
|
|
ColumnID.MinimumWidth = 6;
|
|
ColumnID.Name = "ColumnID";
|
|
ColumnID.Visible = false;
|
|
ColumnID.Width = 125;
|
|
//
|
|
// Name
|
|
//
|
|
Name.HeaderText = "Название";
|
|
Name.MinimumWidth = 6;
|
|
Name.Name = "Name";
|
|
Name.Width = 125;
|
|
//
|
|
// Price
|
|
//
|
|
Price.HeaderText = "Цена";
|
|
Price.MinimumWidth = 6;
|
|
Price.Name = "Price";
|
|
Price.Width = 125;
|
|
//
|
|
// Number
|
|
//
|
|
Number.HeaderText = "Количество";
|
|
Number.MinimumWidth = 6;
|
|
Number.Name = "Number";
|
|
Number.Width = 125;
|
|
//
|
|
// ShopForm
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(681, 329);
|
|
Controls.Add(labelDate);
|
|
Controls.Add(DateTimePicker);
|
|
Controls.Add(labelAddress);
|
|
Controls.Add(labelName);
|
|
Controls.Add(textBoxAddress);
|
|
Controls.Add(textBoxName);
|
|
Controls.Add(buttonCancel);
|
|
Controls.Add(buttonSave);
|
|
Controls.Add(DataGridView);
|
|
//Name = "ShopForm";
|
|
Text = "ShopForm";
|
|
Load += ShopForm_Load;
|
|
((System.ComponentModel.ISupportInitialize)DataGridView).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private DataGridView DataGridView;
|
|
private Button buttonSave;
|
|
private Button buttonCancel;
|
|
private TextBox textBoxName;
|
|
private TextBox textBoxAddress;
|
|
private Label labelName;
|
|
private Label labelAddress;
|
|
private DateTimePicker DateTimePicker;
|
|
private Label labelDate;
|
|
private DataGridViewTextBoxColumn ColumnID;
|
|
private DataGridViewTextBoxColumn Name;
|
|
private DataGridViewTextBoxColumn Price;
|
|
private DataGridViewTextBoxColumn Number;
|
|
}
|
|
} |