102 lines
3.8 KiB
C#
102 lines
3.8 KiB
C#
|
namespace BarView
|
|||
|
{
|
|||
|
partial class FormReportCocktailComponents
|
|||
|
{
|
|||
|
/// <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();
|
|||
|
ComponentName = new DataGridViewTextBoxColumn();
|
|||
|
CocktailName = new DataGridViewTextBoxColumn();
|
|||
|
Amount = new DataGridViewTextBoxColumn();
|
|||
|
ButtonSaveToExcel = new Button();
|
|||
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|||
|
SuspendLayout();
|
|||
|
//
|
|||
|
// dataGridView
|
|||
|
//
|
|||
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|||
|
dataGridView.Columns.AddRange(new DataGridViewColumn[] { ComponentName, CocktailName, Amount });
|
|||
|
dataGridView.Location = new Point(3, 43);
|
|||
|
dataGridView.Name = "dataGridView";
|
|||
|
dataGridView.RowTemplate.Height = 25;
|
|||
|
dataGridView.Size = new Size(794, 385);
|
|||
|
dataGridView.TabIndex = 0;
|
|||
|
//
|
|||
|
// ComponentName
|
|||
|
//
|
|||
|
ComponentName.HeaderText = "Компонент";
|
|||
|
ComponentName.Name = "ComponentName";
|
|||
|
ComponentName.ReadOnly = true;
|
|||
|
ComponentName.Width = 250;
|
|||
|
//
|
|||
|
// CocktailName
|
|||
|
//
|
|||
|
CocktailName.HeaderText = "Коктейль";
|
|||
|
CocktailName.Name = "CocktailName";
|
|||
|
CocktailName.ReadOnly = true;
|
|||
|
CocktailName.Width = 250;
|
|||
|
//
|
|||
|
// Amount
|
|||
|
//
|
|||
|
Amount.HeaderText = "Количество";
|
|||
|
Amount.Name = "Amount";
|
|||
|
Amount.ReadOnly = true;
|
|||
|
Amount.Width = 250;
|
|||
|
//
|
|||
|
// ButtonSaveToExcel
|
|||
|
//
|
|||
|
ButtonSaveToExcel.Location = new Point(12, 14);
|
|||
|
ButtonSaveToExcel.Name = "ButtonSaveToExcel";
|
|||
|
ButtonSaveToExcel.Size = new Size(152, 23);
|
|||
|
ButtonSaveToExcel.TabIndex = 1;
|
|||
|
ButtonSaveToExcel.Text = "Сохранить в Excel";
|
|||
|
ButtonSaveToExcel.UseVisualStyleBackColor = true;
|
|||
|
ButtonSaveToExcel.Click += ButtonSaveToExcel_Click;
|
|||
|
//
|
|||
|
// FormReportCocktailComponents
|
|||
|
//
|
|||
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|||
|
AutoScaleMode = AutoScaleMode.Font;
|
|||
|
ClientSize = new Size(800, 450);
|
|||
|
Controls.Add(ButtonSaveToExcel);
|
|||
|
Controls.Add(dataGridView);
|
|||
|
Name = "FormReportCocktailComponents";
|
|||
|
Text = "FormReportCocktailComponents";
|
|||
|
Load += FormReportCocktailComponents_Load;
|
|||
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|||
|
ResumeLayout(false);
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private DataGridView dataGridView;
|
|||
|
private Button ButtonSaveToExcel;
|
|||
|
private DataGridViewTextBoxColumn ComponentName;
|
|||
|
private DataGridViewTextBoxColumn CocktailName;
|
|||
|
private DataGridViewTextBoxColumn Amount;
|
|||
|
}
|
|||
|
}
|