2023-05-08 13:51:25 +04:00
|
|
|
|
namespace RestaurantView
|
|
|
|
|
{
|
|
|
|
|
partial class FormComponent
|
|
|
|
|
{
|
|
|
|
|
/// <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.buttonSave = new System.Windows.Forms.Button();
|
|
|
|
|
this.buttonCancel = new System.Windows.Forms.Button();
|
|
|
|
|
this.labelName = new System.Windows.Forms.Label();
|
|
|
|
|
this.labelPrice = new System.Windows.Forms.Label();
|
|
|
|
|
this.labelCount = new System.Windows.Forms.Label();
|
|
|
|
|
this.textBoxName = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.textBoxPrice = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.textBoxCount = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
|
|
|
this.buttonRef = new System.Windows.Forms.Button();
|
2023-05-16 23:26:45 +04:00
|
|
|
|
this.buttonUpd = new System.Windows.Forms.Button();
|
|
|
|
|
this.buttonDel = new System.Windows.Forms.Button();
|
|
|
|
|
this.buttonAdd = new System.Windows.Forms.Button();
|
|
|
|
|
this.dataGridView = new System.Windows.Forms.DataGridView();
|
|
|
|
|
this.Identificator = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
2023-05-08 13:51:25 +04:00
|
|
|
|
this.Count = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
2023-05-16 23:26:45 +04:00
|
|
|
|
this.Provider = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
2023-05-08 13:51:25 +04:00
|
|
|
|
this.groupBox1.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
|
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// buttonSave
|
|
|
|
|
//
|
|
|
|
|
this.buttonSave.Location = new System.Drawing.Point(233, 519);
|
|
|
|
|
this.buttonSave.Name = "buttonSave";
|
|
|
|
|
this.buttonSave.Size = new System.Drawing.Size(92, 33);
|
|
|
|
|
this.buttonSave.TabIndex = 0;
|
|
|
|
|
this.buttonSave.Text = "Сохранить";
|
|
|
|
|
this.buttonSave.UseVisualStyleBackColor = true;
|
|
|
|
|
this.buttonSave.Click += new System.EventHandler(this.buttonSave_Click);
|
|
|
|
|
//
|
|
|
|
|
// buttonCancel
|
|
|
|
|
//
|
|
|
|
|
this.buttonCancel.Location = new System.Drawing.Point(380, 519);
|
|
|
|
|
this.buttonCancel.Name = "buttonCancel";
|
|
|
|
|
this.buttonCancel.Size = new System.Drawing.Size(87, 33);
|
|
|
|
|
this.buttonCancel.TabIndex = 1;
|
|
|
|
|
this.buttonCancel.Text = "Отменить";
|
|
|
|
|
this.buttonCancel.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// labelName
|
|
|
|
|
//
|
|
|
|
|
this.labelName.AutoSize = true;
|
|
|
|
|
this.labelName.Location = new System.Drawing.Point(30, 25);
|
|
|
|
|
this.labelName.Name = "labelName";
|
|
|
|
|
this.labelName.Size = new System.Drawing.Size(62, 15);
|
|
|
|
|
this.labelName.TabIndex = 2;
|
|
|
|
|
this.labelName.Text = "Название:";
|
|
|
|
|
//
|
|
|
|
|
// labelPrice
|
|
|
|
|
//
|
|
|
|
|
this.labelPrice.AutoSize = true;
|
|
|
|
|
this.labelPrice.Location = new System.Drawing.Point(54, 68);
|
|
|
|
|
this.labelPrice.Name = "labelPrice";
|
|
|
|
|
this.labelPrice.Size = new System.Drawing.Size(38, 15);
|
|
|
|
|
this.labelPrice.TabIndex = 3;
|
|
|
|
|
this.labelPrice.Text = "Цена:";
|
|
|
|
|
//
|
|
|
|
|
// labelCount
|
|
|
|
|
//
|
|
|
|
|
this.labelCount.AutoSize = true;
|
|
|
|
|
this.labelCount.Location = new System.Drawing.Point(17, 113);
|
|
|
|
|
this.labelCount.Name = "labelCount";
|
|
|
|
|
this.labelCount.Size = new System.Drawing.Size(75, 15);
|
|
|
|
|
this.labelCount.TabIndex = 4;
|
|
|
|
|
this.labelCount.Text = "Количество:";
|
|
|
|
|
//
|
|
|
|
|
// textBoxName
|
|
|
|
|
//
|
|
|
|
|
this.textBoxName.Location = new System.Drawing.Point(98, 22);
|
|
|
|
|
this.textBoxName.Name = "textBoxName";
|
|
|
|
|
this.textBoxName.Size = new System.Drawing.Size(295, 23);
|
|
|
|
|
this.textBoxName.TabIndex = 5;
|
|
|
|
|
//
|
|
|
|
|
// textBoxPrice
|
|
|
|
|
//
|
|
|
|
|
this.textBoxPrice.Location = new System.Drawing.Point(98, 65);
|
|
|
|
|
this.textBoxPrice.Name = "textBoxPrice";
|
|
|
|
|
this.textBoxPrice.Size = new System.Drawing.Size(295, 23);
|
|
|
|
|
this.textBoxPrice.TabIndex = 6;
|
|
|
|
|
//
|
|
|
|
|
// textBoxCount
|
|
|
|
|
//
|
2023-05-16 23:26:45 +04:00
|
|
|
|
this.textBoxCount.Enabled = false;
|
2023-05-08 13:51:25 +04:00
|
|
|
|
this.textBoxCount.Location = new System.Drawing.Point(98, 110);
|
|
|
|
|
this.textBoxCount.Name = "textBoxCount";
|
|
|
|
|
this.textBoxCount.Size = new System.Drawing.Size(295, 23);
|
|
|
|
|
this.textBoxCount.TabIndex = 7;
|
|
|
|
|
//
|
|
|
|
|
// groupBox1
|
|
|
|
|
//
|
|
|
|
|
this.groupBox1.Controls.Add(this.buttonRef);
|
|
|
|
|
this.groupBox1.Controls.Add(this.buttonUpd);
|
|
|
|
|
this.groupBox1.Controls.Add(this.buttonDel);
|
|
|
|
|
this.groupBox1.Controls.Add(this.buttonAdd);
|
|
|
|
|
this.groupBox1.Controls.Add(this.dataGridView);
|
|
|
|
|
this.groupBox1.Location = new System.Drawing.Point(30, 186);
|
|
|
|
|
this.groupBox1.Name = "groupBox1";
|
|
|
|
|
this.groupBox1.Size = new System.Drawing.Size(622, 292);
|
|
|
|
|
this.groupBox1.TabIndex = 8;
|
|
|
|
|
this.groupBox1.TabStop = false;
|
|
|
|
|
this.groupBox1.Text = "Поставщики";
|
|
|
|
|
//
|
2023-05-16 23:26:45 +04:00
|
|
|
|
// buttonRef
|
2023-05-08 13:51:25 +04:00
|
|
|
|
//
|
2023-05-16 23:26:45 +04:00
|
|
|
|
this.buttonRef.Location = new System.Drawing.Point(512, 194);
|
|
|
|
|
this.buttonRef.Name = "buttonRef";
|
|
|
|
|
this.buttonRef.Size = new System.Drawing.Size(75, 23);
|
|
|
|
|
this.buttonRef.TabIndex = 4;
|
|
|
|
|
this.buttonRef.Text = "Обновить";
|
|
|
|
|
this.buttonRef.UseVisualStyleBackColor = true;
|
|
|
|
|
this.buttonRef.Click += new System.EventHandler(this.ButtonRef_Click);
|
2023-05-08 13:51:25 +04:00
|
|
|
|
//
|
2023-05-16 23:26:45 +04:00
|
|
|
|
// buttonUpd
|
2023-05-08 13:51:25 +04:00
|
|
|
|
//
|
2023-05-16 23:26:45 +04:00
|
|
|
|
this.buttonUpd.Location = new System.Drawing.Point(512, 136);
|
|
|
|
|
this.buttonUpd.Name = "buttonUpd";
|
|
|
|
|
this.buttonUpd.Size = new System.Drawing.Size(75, 23);
|
|
|
|
|
this.buttonUpd.TabIndex = 3;
|
|
|
|
|
this.buttonUpd.Text = "Изменить";
|
|
|
|
|
this.buttonUpd.UseVisualStyleBackColor = true;
|
|
|
|
|
this.buttonUpd.Click += new System.EventHandler(this.ButtonUpd_Click);
|
2023-05-08 13:51:25 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonDel
|
|
|
|
|
//
|
|
|
|
|
this.buttonDel.Location = new System.Drawing.Point(512, 79);
|
|
|
|
|
this.buttonDel.Name = "buttonDel";
|
|
|
|
|
this.buttonDel.Size = new System.Drawing.Size(75, 23);
|
|
|
|
|
this.buttonDel.TabIndex = 2;
|
|
|
|
|
this.buttonDel.Text = "Удалить";
|
|
|
|
|
this.buttonDel.UseVisualStyleBackColor = true;
|
2023-05-16 23:26:45 +04:00
|
|
|
|
this.buttonDel.Click += new System.EventHandler(this.ButtonDel_Click);
|
2023-05-08 13:51:25 +04:00
|
|
|
|
//
|
2023-05-16 23:26:45 +04:00
|
|
|
|
// buttonAdd
|
2023-05-08 13:51:25 +04:00
|
|
|
|
//
|
2023-05-16 23:26:45 +04:00
|
|
|
|
this.buttonAdd.Location = new System.Drawing.Point(512, 22);
|
|
|
|
|
this.buttonAdd.Name = "buttonAdd";
|
|
|
|
|
this.buttonAdd.Size = new System.Drawing.Size(75, 23);
|
|
|
|
|
this.buttonAdd.TabIndex = 1;
|
|
|
|
|
this.buttonAdd.Text = "Добавить";
|
|
|
|
|
this.buttonAdd.UseVisualStyleBackColor = true;
|
|
|
|
|
this.buttonAdd.Click += new System.EventHandler(this.buttonAdd_Click);
|
2023-05-08 13:51:25 +04:00
|
|
|
|
//
|
2023-05-16 23:26:45 +04:00
|
|
|
|
// dataGridView
|
2023-05-08 13:51:25 +04:00
|
|
|
|
//
|
2023-05-16 23:26:45 +04:00
|
|
|
|
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
|
|
this.Identificator,
|
|
|
|
|
this.Count,
|
|
|
|
|
this.Provider});
|
|
|
|
|
this.dataGridView.Location = new System.Drawing.Point(6, 22);
|
|
|
|
|
this.dataGridView.Name = "dataGridView";
|
|
|
|
|
this.dataGridView.RowTemplate.Height = 25;
|
|
|
|
|
this.dataGridView.Size = new System.Drawing.Size(466, 251);
|
|
|
|
|
this.dataGridView.TabIndex = 0;
|
2023-05-08 13:51:25 +04:00
|
|
|
|
//
|
2023-05-16 23:26:45 +04:00
|
|
|
|
// Identificator
|
2023-05-08 13:51:25 +04:00
|
|
|
|
//
|
2023-05-16 23:26:45 +04:00
|
|
|
|
this.Identificator.HeaderText = "Identificator";
|
|
|
|
|
this.Identificator.Name = "Identificator";
|
|
|
|
|
this.Identificator.Visible = false;
|
2023-05-08 13:51:25 +04:00
|
|
|
|
//
|
|
|
|
|
// Count
|
|
|
|
|
//
|
|
|
|
|
this.Count.HeaderText = "Количество";
|
|
|
|
|
this.Count.Name = "Count";
|
|
|
|
|
this.Count.Width = 200;
|
|
|
|
|
//
|
2023-05-16 23:26:45 +04:00
|
|
|
|
// Provider
|
|
|
|
|
//
|
|
|
|
|
this.Provider.HeaderText = "Поставщик";
|
|
|
|
|
this.Provider.Name = "Provider";
|
|
|
|
|
this.Provider.Width = 200;
|
|
|
|
|
//
|
2023-05-08 13:51:25 +04:00
|
|
|
|
// FormComponent
|
|
|
|
|
//
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
|
this.ClientSize = new System.Drawing.Size(679, 590);
|
|
|
|
|
this.Controls.Add(this.groupBox1);
|
|
|
|
|
this.Controls.Add(this.textBoxCount);
|
|
|
|
|
this.Controls.Add(this.textBoxPrice);
|
|
|
|
|
this.Controls.Add(this.textBoxName);
|
|
|
|
|
this.Controls.Add(this.labelCount);
|
|
|
|
|
this.Controls.Add(this.labelPrice);
|
|
|
|
|
this.Controls.Add(this.labelName);
|
|
|
|
|
this.Controls.Add(this.buttonCancel);
|
|
|
|
|
this.Controls.Add(this.buttonSave);
|
|
|
|
|
this.Name = "FormComponent";
|
|
|
|
|
this.Text = "Компонент";
|
|
|
|
|
this.Load += new System.EventHandler(this.FormComponent_Load);
|
|
|
|
|
this.groupBox1.ResumeLayout(false);
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
|
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
this.PerformLayout();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private Button buttonSave;
|
|
|
|
|
private Button buttonCancel;
|
|
|
|
|
private Label labelName;
|
|
|
|
|
private Label labelPrice;
|
|
|
|
|
private Label labelCount;
|
|
|
|
|
private TextBox textBoxName;
|
|
|
|
|
private TextBox textBoxPrice;
|
|
|
|
|
private TextBox textBoxCount;
|
|
|
|
|
private GroupBox groupBox1;
|
|
|
|
|
private Button buttonRef;
|
|
|
|
|
private Button buttonUpd;
|
|
|
|
|
private Button buttonDel;
|
|
|
|
|
private Button buttonAdd;
|
|
|
|
|
private DataGridView dataGridView;
|
2023-05-16 23:26:45 +04:00
|
|
|
|
private DataGridViewTextBoxColumn Identificator;
|
2023-05-08 13:51:25 +04:00
|
|
|
|
private DataGridViewTextBoxColumn Count;
|
2023-05-16 23:26:45 +04:00
|
|
|
|
private DataGridViewTextBoxColumn Provider;
|
2023-05-08 13:51:25 +04:00
|
|
|
|
}
|
|
|
|
|
}
|