199 lines
7.5 KiB
C#
199 lines
7.5 KiB
C#
namespace SushiBarView.Forms
|
|
{
|
|
partial class FormCreateCheque
|
|
{
|
|
/// <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()
|
|
{
|
|
NameLabel = new Label();
|
|
PriceLabel = new Label();
|
|
PriceTextBox = new TextBox();
|
|
ComponentsGroupBox = new GroupBox();
|
|
AddButton = new Button();
|
|
DataGridView = new DataGridView();
|
|
IdColumn = new DataGridViewTextBoxColumn();
|
|
DishNameColumn = new DataGridViewTextBoxColumn();
|
|
CountColumn = new DataGridViewTextBoxColumn();
|
|
CookColumn = new DataGridViewTextBoxColumn();
|
|
SaveButton = new Button();
|
|
CancelButton = new Button();
|
|
CustomerComboBox = new ComboBox();
|
|
ComponentsGroupBox.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)DataGridView).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// NameLabel
|
|
//
|
|
NameLabel.AutoSize = true;
|
|
NameLabel.Location = new Point(12, 9);
|
|
NameLabel.Name = "NameLabel";
|
|
NameLabel.Size = new Size(75, 15);
|
|
NameLabel.TabIndex = 0;
|
|
NameLabel.Text = "Покупатель:";
|
|
//
|
|
// PriceLabel
|
|
//
|
|
PriceLabel.AutoSize = true;
|
|
PriceLabel.Location = new Point(12, 38);
|
|
PriceLabel.Name = "PriceLabel";
|
|
PriceLabel.Size = new Size(88, 15);
|
|
PriceLabel.TabIndex = 1;
|
|
PriceLabel.Text = "Общая сумма:";
|
|
//
|
|
// PriceTextBox
|
|
//
|
|
PriceTextBox.Location = new Point(108, 35);
|
|
PriceTextBox.Name = "PriceTextBox";
|
|
PriceTextBox.ReadOnly = true;
|
|
PriceTextBox.Size = new Size(100, 23);
|
|
PriceTextBox.TabIndex = 3;
|
|
//
|
|
// ComponentsGroupBox
|
|
//
|
|
ComponentsGroupBox.Controls.Add(AddButton);
|
|
ComponentsGroupBox.Controls.Add(DataGridView);
|
|
ComponentsGroupBox.Location = new Point(12, 64);
|
|
ComponentsGroupBox.Name = "ComponentsGroupBox";
|
|
ComponentsGroupBox.Size = new Size(706, 318);
|
|
ComponentsGroupBox.TabIndex = 4;
|
|
ComponentsGroupBox.TabStop = false;
|
|
ComponentsGroupBox.Text = "Заказанные блюда";
|
|
//
|
|
// AddButton
|
|
//
|
|
AddButton.Location = new Point(588, 22);
|
|
AddButton.Name = "AddButton";
|
|
AddButton.Size = new Size(112, 29);
|
|
AddButton.TabIndex = 1;
|
|
AddButton.Text = "Добавить";
|
|
AddButton.UseVisualStyleBackColor = true;
|
|
AddButton.Click += AddButton_Click;
|
|
//
|
|
// DataGridView
|
|
//
|
|
DataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
DataGridView.Columns.AddRange(new DataGridViewColumn[] { IdColumn, DishNameColumn, CountColumn, CookColumn });
|
|
DataGridView.Location = new Point(6, 22);
|
|
DataGridView.Name = "DataGridView";
|
|
DataGridView.RowHeadersWidth = 51;
|
|
DataGridView.Size = new Size(567, 290);
|
|
DataGridView.TabIndex = 0;
|
|
//
|
|
// IdColumn
|
|
//
|
|
IdColumn.HeaderText = "Column1";
|
|
IdColumn.MinimumWidth = 6;
|
|
IdColumn.Name = "IdColumn";
|
|
IdColumn.Visible = false;
|
|
IdColumn.Width = 6;
|
|
//
|
|
// DishNameColumn
|
|
//
|
|
DishNameColumn.HeaderText = "Блюдо";
|
|
DishNameColumn.MinimumWidth = 6;
|
|
DishNameColumn.Name = "DishNameColumn";
|
|
DishNameColumn.Width = 175;
|
|
//
|
|
// CountColumn
|
|
//
|
|
CountColumn.HeaderText = "Количество";
|
|
CountColumn.MinimumWidth = 6;
|
|
CountColumn.Name = "CountColumn";
|
|
CountColumn.Width = 139;
|
|
//
|
|
// CookColumn
|
|
//
|
|
CookColumn.HeaderText = "Повар";
|
|
CookColumn.Name = "CookColumn";
|
|
CookColumn.ReadOnly = true;
|
|
CookColumn.Width = 200;
|
|
//
|
|
// SaveButton
|
|
//
|
|
SaveButton.Location = new Point(523, 404);
|
|
SaveButton.Name = "SaveButton";
|
|
SaveButton.Size = new Size(96, 33);
|
|
SaveButton.TabIndex = 5;
|
|
SaveButton.Text = "Сохранить";
|
|
SaveButton.UseVisualStyleBackColor = true;
|
|
SaveButton.Click += SaveButton_Click;
|
|
//
|
|
// CancelButton
|
|
//
|
|
CancelButton.Location = new Point(625, 404);
|
|
CancelButton.Name = "CancelButton";
|
|
CancelButton.Size = new Size(87, 33);
|
|
CancelButton.TabIndex = 6;
|
|
CancelButton.Text = "Отмена";
|
|
CancelButton.UseVisualStyleBackColor = true;
|
|
//
|
|
// CustomerComboBox
|
|
//
|
|
CustomerComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
CustomerComboBox.FormattingEnabled = true;
|
|
CustomerComboBox.Location = new Point(108, 6);
|
|
CustomerComboBox.Name = "CustomerComboBox";
|
|
CustomerComboBox.Size = new Size(225, 23);
|
|
CustomerComboBox.TabIndex = 9;
|
|
//
|
|
// FormCreateCheque
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(730, 449);
|
|
Controls.Add(CustomerComboBox);
|
|
Controls.Add(CancelButton);
|
|
Controls.Add(SaveButton);
|
|
Controls.Add(ComponentsGroupBox);
|
|
Controls.Add(PriceTextBox);
|
|
Controls.Add(PriceLabel);
|
|
Controls.Add(NameLabel);
|
|
Name = "FormCreateCheque";
|
|
Text = "Чек";
|
|
Load += FormCreateCheque_Load;
|
|
ComponentsGroupBox.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)DataGridView).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label NameLabel;
|
|
private Label PriceLabel;
|
|
private TextBox PriceTextBox;
|
|
private GroupBox ComponentsGroupBox;
|
|
private Button AddButton;
|
|
private DataGridView DataGridView;
|
|
private Button SaveButton;
|
|
private Button CancelButton;
|
|
private ComboBox CustomerComboBox;
|
|
private DataGridViewTextBoxColumn IdColumn;
|
|
private DataGridViewTextBoxColumn DishNameColumn;
|
|
private DataGridViewTextBoxColumn CountColumn;
|
|
private DataGridViewTextBoxColumn CookColumn;
|
|
}
|
|
} |