217 lines
9.7 KiB
C#
217 lines
9.7 KiB
C#
namespace ConfectioneryView
|
|
{
|
|
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.label1 = new System.Windows.Forms.Label();
|
|
this.comboBoxShop = new System.Windows.Forms.ComboBox();
|
|
this.dataGridView = new System.Windows.Forms.DataGridView();
|
|
this.PastryName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Price = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Count = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.textBoxAddress = new System.Windows.Forms.TextBox();
|
|
this.textBoxDateOpening = new System.Windows.Forms.TextBox();
|
|
this.buttonCancel = new System.Windows.Forms.Button();
|
|
this.buttonSave = new System.Windows.Forms.Button();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.numericUpDownMaxPastry = new System.Windows.Forms.NumericUpDown();
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDownMaxPastry)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(12, 9);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(116, 15);
|
|
this.label1.TabIndex = 0;
|
|
this.label1.Text = "Название магазина:";
|
|
//
|
|
// comboBoxShop
|
|
//
|
|
this.comboBoxShop.FormattingEnabled = true;
|
|
this.comboBoxShop.Location = new System.Drawing.Point(12, 27);
|
|
this.comboBoxShop.Name = "comboBoxShop";
|
|
this.comboBoxShop.Size = new System.Drawing.Size(141, 23);
|
|
this.comboBoxShop.TabIndex = 1;
|
|
this.comboBoxShop.SelectedIndexChanged += new System.EventHandler(this.ComboBoxShop_SelectedIndexChanged);
|
|
//
|
|
// 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.PastryName,
|
|
this.Price,
|
|
this.Count});
|
|
this.dataGridView.Location = new System.Drawing.Point(12, 64);
|
|
this.dataGridView.Name = "dataGridView";
|
|
this.dataGridView.RowTemplate.Height = 25;
|
|
this.dataGridView.Size = new System.Drawing.Size(640, 213);
|
|
this.dataGridView.TabIndex = 2;
|
|
//
|
|
// PastryName
|
|
//
|
|
this.PastryName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.PastryName.HeaderText = "Имя изделия";
|
|
this.PastryName.Name = "PastryName";
|
|
//
|
|
// Price
|
|
//
|
|
this.Price.HeaderText = "Цена";
|
|
this.Price.Name = "Price";
|
|
//
|
|
// Count
|
|
//
|
|
this.Count.HeaderText = "Количество";
|
|
this.Count.Name = "Count";
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(159, 9);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(97, 15);
|
|
this.label2.TabIndex = 3;
|
|
this.label2.Text = "Адрес магазина:";
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(366, 9);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(100, 15);
|
|
this.label3.TabIndex = 4;
|
|
this.label3.Text = "Время открытия:";
|
|
//
|
|
// textBoxAddress
|
|
//
|
|
this.textBoxAddress.Location = new System.Drawing.Point(159, 27);
|
|
this.textBoxAddress.Name = "textBoxAddress";
|
|
this.textBoxAddress.Size = new System.Drawing.Size(201, 23);
|
|
this.textBoxAddress.TabIndex = 5;
|
|
//
|
|
// textBoxDateOpening
|
|
//
|
|
this.textBoxDateOpening.Location = new System.Drawing.Point(366, 27);
|
|
this.textBoxDateOpening.Name = "textBoxDateOpening";
|
|
this.textBoxDateOpening.Size = new System.Drawing.Size(160, 23);
|
|
this.textBoxDateOpening.TabIndex = 6;
|
|
//
|
|
// 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(549, 283);
|
|
this.buttonCancel.Name = "buttonCancel";
|
|
this.buttonCancel.Size = new System.Drawing.Size(103, 23);
|
|
this.buttonCancel.TabIndex = 7;
|
|
this.buttonCancel.Text = "Отмена";
|
|
this.buttonCancel.UseVisualStyleBackColor = true;
|
|
this.buttonCancel.Click += new System.EventHandler(this.ButtonCancel_Click);
|
|
//
|
|
// 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(423, 284);
|
|
this.buttonSave.Name = "buttonSave";
|
|
this.buttonSave.Size = new System.Drawing.Size(120, 22);
|
|
this.buttonSave.TabIndex = 8;
|
|
this.buttonSave.Text = "Сохранить";
|
|
this.buttonSave.UseVisualStyleBackColor = true;
|
|
this.buttonSave.Click += new System.EventHandler(this.ButtonSave_Click);
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(530, 9);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(118, 15);
|
|
this.label4.TabIndex = 9;
|
|
this.label4.Text = "Максимум изделий:";
|
|
//
|
|
// numericUpDownMaxPastry
|
|
//
|
|
this.numericUpDownMaxPastry.Location = new System.Drawing.Point(532, 27);
|
|
this.numericUpDownMaxPastry.Maximum = new decimal(new int[] {
|
|
10000000,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numericUpDownMaxPastry.Name = "numericUpDownMaxPastry";
|
|
this.numericUpDownMaxPastry.Size = new System.Drawing.Size(120, 23);
|
|
this.numericUpDownMaxPastry.TabIndex = 10;
|
|
//
|
|
// FormShop
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(664, 317);
|
|
this.Controls.Add(this.numericUpDownMaxPastry);
|
|
this.Controls.Add(this.label4);
|
|
this.Controls.Add(this.buttonSave);
|
|
this.Controls.Add(this.buttonCancel);
|
|
this.Controls.Add(this.textBoxDateOpening);
|
|
this.Controls.Add(this.textBoxAddress);
|
|
this.Controls.Add(this.label3);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.dataGridView);
|
|
this.Controls.Add(this.comboBoxShop);
|
|
this.Controls.Add(this.label1);
|
|
this.Name = "FormShop";
|
|
this.Text = "Просмотр изделий магазина";
|
|
this.Load += new System.EventHandler(this.FormShop_Load);
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDownMaxPastry)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label label1;
|
|
private ComboBox comboBoxShop;
|
|
private DataGridView dataGridView;
|
|
private Label label2;
|
|
private Label label3;
|
|
private TextBox textBoxAddress;
|
|
private TextBox textBoxDateOpening;
|
|
private Button buttonCancel;
|
|
private Button buttonSave;
|
|
private DataGridViewTextBoxColumn PastryName;
|
|
private DataGridViewTextBoxColumn Price;
|
|
private DataGridViewTextBoxColumn Count;
|
|
private Label label4;
|
|
private NumericUpDown numericUpDownMaxPastry;
|
|
}
|
|
} |