109 lines
4.2 KiB
C#
109 lines
4.2 KiB
C#
namespace DinerView
|
|
{
|
|
partial class FormReportSnackFoods
|
|
{
|
|
/// <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();
|
|
ColumnFood = new DataGridViewTextBoxColumn();
|
|
ColumnSnack = 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.ControlLight;
|
|
dataGridView.BorderStyle = BorderStyle.None;
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridView.Columns.AddRange(new DataGridViewColumn[] { ColumnFood, ColumnSnack, ColumnCount });
|
|
dataGridView.Dock = DockStyle.Bottom;
|
|
dataGridView.Location = new Point(0, 55);
|
|
dataGridView.MultiSelect = false;
|
|
dataGridView.Name = "dataGridView";
|
|
dataGridView.ReadOnly = true;
|
|
dataGridView.Size = new Size(800, 395);
|
|
dataGridView.TabIndex = 0;
|
|
//
|
|
// ColumnFood
|
|
//
|
|
ColumnFood.HeaderText = "Еда";
|
|
ColumnFood.Name = "ColumnFood";
|
|
ColumnFood.ReadOnly = true;
|
|
//
|
|
// ColumnSnack
|
|
//
|
|
ColumnSnack.HeaderText = "Снэк";
|
|
ColumnSnack.Name = "ColumnSnack";
|
|
ColumnSnack.ReadOnly = true;
|
|
//
|
|
// ColumnCount
|
|
//
|
|
ColumnCount.HeaderText = "Количество";
|
|
ColumnCount.Name = "ColumnCount";
|
|
ColumnCount.ReadOnly = true;
|
|
//
|
|
// buttonSaveToExcel
|
|
//
|
|
buttonSaveToExcel.Location = new Point(12, 12);
|
|
buttonSaveToExcel.Name = "buttonSaveToExcel";
|
|
buttonSaveToExcel.Size = new Size(236, 37);
|
|
buttonSaveToExcel.TabIndex = 1;
|
|
buttonSaveToExcel.Text = "Сохранить в Excel";
|
|
buttonSaveToExcel.UseVisualStyleBackColor = true;
|
|
buttonSaveToExcel.Click += buttonSaveToExcel_Click;
|
|
//
|
|
// FormReportSnackFoods
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
BackColor = Color.LightGray;
|
|
ClientSize = new Size(800, 450);
|
|
Controls.Add(buttonSaveToExcel);
|
|
Controls.Add(dataGridView);
|
|
Name = "FormReportSnackFoods";
|
|
Text = "Еда из снэков";
|
|
Load += FormReportSnackFoods_Load;
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private DataGridView dataGridView;
|
|
private Button buttonSaveToExcel;
|
|
private DataGridViewTextBoxColumn ColumnFood;
|
|
private DataGridViewTextBoxColumn ColumnSnack;
|
|
private DataGridViewTextBoxColumn ColumnCount;
|
|
}
|
|
} |