119 lines
4.8 KiB
C#
119 lines
4.8 KiB
C#
namespace FoodOrdersView
|
|
{
|
|
partial class FormReportDishComponents
|
|
{
|
|
/// <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();
|
|
ColumnDish = new DataGridViewTextBoxColumn();
|
|
ColumnComponent = new DataGridViewTextBoxColumn();
|
|
ColumnCount = new DataGridViewTextBoxColumn();
|
|
buttonSaveToExcel = new Button();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// dataGridView
|
|
//
|
|
dataGridView.AllowUserToAddRows = false;
|
|
dataGridView.AllowUserToDeleteRows = false;
|
|
dataGridView.AllowUserToOrderColumns = true;
|
|
dataGridView.AllowUserToResizeColumns = false;
|
|
dataGridView.AllowUserToResizeRows = false;
|
|
dataGridView.BackgroundColor = SystemColors.ControlLightLight;
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridView.Columns.AddRange(new DataGridViewColumn[] { ColumnDish, ColumnComponent, ColumnCount });
|
|
dataGridView.Dock = DockStyle.Bottom;
|
|
dataGridView.Location = new Point(0, 63);
|
|
dataGridView.Margin = new Padding(5, 4, 5, 4);
|
|
dataGridView.MultiSelect = false;
|
|
dataGridView.Name = "dataGridView";
|
|
dataGridView.ReadOnly = true;
|
|
dataGridView.RowHeadersVisible = false;
|
|
dataGridView.RowHeadersWidth = 51;
|
|
dataGridView.Size = new Size(704, 680);
|
|
dataGridView.TabIndex = 0;
|
|
//
|
|
// ColumnDish
|
|
//
|
|
ColumnDish.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
|
ColumnDish.HeaderText = "Блюда";
|
|
ColumnDish.MinimumWidth = 6;
|
|
ColumnDish.Name = "ColumnDish";
|
|
ColumnDish.ReadOnly = true;
|
|
//
|
|
// ColumnComponent
|
|
//
|
|
ColumnComponent.HeaderText = "Компонент";
|
|
ColumnComponent.MinimumWidth = 6;
|
|
ColumnComponent.Name = "ColumnComponent";
|
|
ColumnComponent.ReadOnly = true;
|
|
ColumnComponent.Width = 200;
|
|
//
|
|
// ColumnCount
|
|
//
|
|
ColumnCount.HeaderText = "Количество";
|
|
ColumnCount.MinimumWidth = 6;
|
|
ColumnCount.Name = "ColumnCount";
|
|
ColumnCount.ReadOnly = true;
|
|
ColumnCount.Width = 125;
|
|
//
|
|
// buttonSaveToExcel
|
|
//
|
|
buttonSaveToExcel.Location = new Point(15, 13);
|
|
buttonSaveToExcel.Margin = new Padding(5, 4, 5, 4);
|
|
buttonSaveToExcel.Name = "buttonSaveToExcel";
|
|
buttonSaveToExcel.Size = new Size(213, 36);
|
|
buttonSaveToExcel.TabIndex = 1;
|
|
buttonSaveToExcel.Text = "Сохранить в Excel";
|
|
buttonSaveToExcel.UseVisualStyleBackColor = true;
|
|
buttonSaveToExcel.Click += ButtonSaveToExcel_Click;
|
|
//
|
|
// FormReportDishComponents
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(704, 743);
|
|
Controls.Add(buttonSaveToExcel);
|
|
Controls.Add(dataGridView);
|
|
Margin = new Padding(5, 4, 5, 4);
|
|
Name = "FormReportDishComponents";
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
Text = "Компоненты по блюдам";
|
|
Load += FormReportProductComponents_Load;
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.DataGridView dataGridView;
|
|
private System.Windows.Forms.Button buttonSaveToExcel;
|
|
private DataGridViewTextBoxColumn ColumnDish;
|
|
private DataGridViewTextBoxColumn ColumnComponent;
|
|
private DataGridViewTextBoxColumn ColumnCount;
|
|
}
|
|
} |