2023-03-01 16:42:58 +04:00
|
|
|
|
namespace ConfectioneryView
|
|
|
|
|
{
|
|
|
|
|
partial class FormReportPastryComponents
|
|
|
|
|
{
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
2023-03-01 20:55:46 +04:00
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
buttonSaveToExcel = new Button();
|
|
|
|
|
ColumnPastry = new DataGridViewTextBoxColumn();
|
|
|
|
|
ColumnComponent = new DataGridViewTextBoxColumn();
|
|
|
|
|
ColumnCount = new DataGridViewTextBoxColumn();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
SuspendLayout();
|
2023-03-01 16:42:58 +04:00
|
|
|
|
//
|
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
2023-03-01 20:55:46 +04:00
|
|
|
|
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[] { ColumnPastry, ColumnComponent, ColumnCount });
|
|
|
|
|
dataGridView.Dock = DockStyle.Bottom;
|
|
|
|
|
dataGridView.Location = new Point(0, 47);
|
|
|
|
|
dataGridView.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
dataGridView.MultiSelect = false;
|
|
|
|
|
dataGridView.Name = "dataGridView";
|
|
|
|
|
dataGridView.ReadOnly = true;
|
|
|
|
|
dataGridView.RowHeadersVisible = false;
|
|
|
|
|
dataGridView.Size = new Size(616, 510);
|
|
|
|
|
dataGridView.TabIndex = 0;
|
2023-03-01 16:42:58 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonSaveToExcel
|
|
|
|
|
//
|
2023-03-01 20:55:46 +04:00
|
|
|
|
buttonSaveToExcel.Location = new Point(14, 14);
|
|
|
|
|
buttonSaveToExcel.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
buttonSaveToExcel.Name = "buttonSaveToExcel";
|
|
|
|
|
buttonSaveToExcel.Size = new Size(186, 27);
|
|
|
|
|
buttonSaveToExcel.TabIndex = 1;
|
|
|
|
|
buttonSaveToExcel.Text = "Сохранить в Excel";
|
|
|
|
|
buttonSaveToExcel.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonSaveToExcel.Click += ButtonSaveToExcel_Click;
|
2023-03-01 16:42:58 +04:00
|
|
|
|
//
|
2023-03-01 20:55:46 +04:00
|
|
|
|
// ColumnPastry
|
2023-03-01 16:42:58 +04:00
|
|
|
|
//
|
2023-03-01 20:55:46 +04:00
|
|
|
|
ColumnPastry.HeaderText = "Изделие";
|
|
|
|
|
ColumnPastry.Name = "ColumnPastry";
|
|
|
|
|
ColumnPastry.ReadOnly = true;
|
|
|
|
|
ColumnPastry.Width = 200;
|
2023-03-01 16:42:58 +04:00
|
|
|
|
//
|
2023-03-01 20:55:46 +04:00
|
|
|
|
// ColumnComponent
|
2023-03-01 16:42:58 +04:00
|
|
|
|
//
|
2023-03-01 20:55:46 +04:00
|
|
|
|
ColumnComponent.HeaderText = "Компонент";
|
|
|
|
|
ColumnComponent.Name = "ColumnComponent";
|
|
|
|
|
ColumnComponent.ReadOnly = true;
|
|
|
|
|
ColumnComponent.Width = 200;
|
2023-03-01 16:42:58 +04:00
|
|
|
|
//
|
|
|
|
|
// ColumnCount
|
|
|
|
|
//
|
2023-03-01 20:55:46 +04:00
|
|
|
|
ColumnCount.HeaderText = "Количество";
|
|
|
|
|
ColumnCount.Name = "ColumnCount";
|
|
|
|
|
ColumnCount.ReadOnly = true;
|
2023-03-01 16:42:58 +04:00
|
|
|
|
//
|
|
|
|
|
// FormReportPastryComponents
|
|
|
|
|
//
|
2023-03-01 20:55:46 +04:00
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(616, 557);
|
|
|
|
|
Controls.Add(buttonSaveToExcel);
|
|
|
|
|
Controls.Add(dataGridView);
|
|
|
|
|
Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
Name = "FormReportPastryComponents";
|
|
|
|
|
Text = "Изделия с компонентами";
|
|
|
|
|
Load += FormReportPastryComponents_Load;
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
2023-03-01 16:42:58 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private System.Windows.Forms.DataGridView dataGridView;
|
|
|
|
|
private System.Windows.Forms.Button buttonSaveToExcel;
|
2023-03-01 20:55:46 +04:00
|
|
|
|
private DataGridViewTextBoxColumn ColumnPastry;
|
|
|
|
|
private DataGridViewTextBoxColumn ColumnComponent;
|
|
|
|
|
private DataGridViewTextBoxColumn ColumnCount;
|
2023-03-01 16:42:58 +04:00
|
|
|
|
}
|
|
|
|
|
}
|