2024-04-12 01:04:02 +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()
|
|
|
|
|
{
|
|
|
|
|
DataGridViewCellStyle dataGridViewCellStyle1 = new DataGridViewCellStyle();
|
|
|
|
|
DataGridViewCellStyle dataGridViewCellStyle2 = new DataGridViewCellStyle();
|
|
|
|
|
DataGridViewCellStyle dataGridViewCellStyle3 = new DataGridViewCellStyle();
|
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
ColumnComponent = new DataGridViewTextBoxColumn();
|
|
|
|
|
ColumnPastry = new DataGridViewTextBoxColumn();
|
|
|
|
|
ColumnCount = new DataGridViewTextBoxColumn();
|
|
|
|
|
buttonSaveToExcel = new Button();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
|
|
|
|
dataGridView.BackgroundColor = Color.AliceBlue;
|
|
|
|
|
dataGridViewCellStyle1.Alignment = DataGridViewContentAlignment.MiddleLeft;
|
|
|
|
|
dataGridViewCellStyle1.BackColor = SystemColors.Control;
|
2024-04-25 23:22:35 +04:00
|
|
|
|
dataGridViewCellStyle1.Font = new Font("Segoe UI", 9F);
|
2024-04-12 01:04:02 +04:00
|
|
|
|
dataGridViewCellStyle1.ForeColor = SystemColors.WindowText;
|
|
|
|
|
dataGridViewCellStyle1.SelectionBackColor = SystemColors.Highlight;
|
|
|
|
|
dataGridViewCellStyle1.SelectionForeColor = SystemColors.HighlightText;
|
|
|
|
|
dataGridViewCellStyle1.WrapMode = DataGridViewTriState.True;
|
|
|
|
|
dataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
|
|
|
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
dataGridView.Columns.AddRange(new DataGridViewColumn[] { ColumnComponent, ColumnPastry, ColumnCount });
|
|
|
|
|
dataGridViewCellStyle2.Alignment = DataGridViewContentAlignment.MiddleLeft;
|
|
|
|
|
dataGridViewCellStyle2.BackColor = SystemColors.Window;
|
2024-04-25 23:22:35 +04:00
|
|
|
|
dataGridViewCellStyle2.Font = new Font("Segoe UI", 9F);
|
2024-04-12 01:04:02 +04:00
|
|
|
|
dataGridViewCellStyle2.ForeColor = SystemColors.ControlText;
|
|
|
|
|
dataGridViewCellStyle2.SelectionBackColor = SystemColors.Highlight;
|
|
|
|
|
dataGridViewCellStyle2.SelectionForeColor = SystemColors.HighlightText;
|
|
|
|
|
dataGridViewCellStyle2.WrapMode = DataGridViewTriState.False;
|
|
|
|
|
dataGridView.DefaultCellStyle = dataGridViewCellStyle2;
|
|
|
|
|
dataGridView.Location = new Point(12, 141);
|
|
|
|
|
dataGridView.Name = "dataGridView";
|
|
|
|
|
dataGridViewCellStyle3.Alignment = DataGridViewContentAlignment.MiddleLeft;
|
|
|
|
|
dataGridViewCellStyle3.BackColor = SystemColors.Control;
|
2024-04-25 23:22:35 +04:00
|
|
|
|
dataGridViewCellStyle3.Font = new Font("Segoe UI", 9F);
|
2024-04-12 01:04:02 +04:00
|
|
|
|
dataGridViewCellStyle3.ForeColor = SystemColors.WindowText;
|
|
|
|
|
dataGridViewCellStyle3.SelectionBackColor = SystemColors.Highlight;
|
|
|
|
|
dataGridViewCellStyle3.SelectionForeColor = SystemColors.HighlightText;
|
|
|
|
|
dataGridViewCellStyle3.WrapMode = DataGridViewTriState.True;
|
|
|
|
|
dataGridView.RowHeadersDefaultCellStyle = dataGridViewCellStyle3;
|
|
|
|
|
dataGridView.RowHeadersWidth = 62;
|
|
|
|
|
dataGridView.Size = new Size(875, 498);
|
|
|
|
|
dataGridView.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// ColumnComponent
|
|
|
|
|
//
|
|
|
|
|
ColumnComponent.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
ColumnComponent.HeaderText = "Компонент";
|
|
|
|
|
ColumnComponent.MinimumWidth = 8;
|
|
|
|
|
ColumnComponent.Name = "ColumnComponent";
|
|
|
|
|
//
|
|
|
|
|
// ColumnPastry
|
|
|
|
|
//
|
|
|
|
|
ColumnPastry.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
ColumnPastry.HeaderText = "Изделие";
|
|
|
|
|
ColumnPastry.MinimumWidth = 8;
|
|
|
|
|
ColumnPastry.Name = "ColumnPastry";
|
|
|
|
|
//
|
|
|
|
|
// ColumnCount
|
|
|
|
|
//
|
|
|
|
|
ColumnCount.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
ColumnCount.HeaderText = "Количество";
|
|
|
|
|
ColumnCount.MinimumWidth = 8;
|
|
|
|
|
ColumnCount.Name = "ColumnCount";
|
|
|
|
|
//
|
|
|
|
|
// buttonSaveToExcel
|
|
|
|
|
//
|
|
|
|
|
buttonSaveToExcel.Location = new Point(66, 45);
|
|
|
|
|
buttonSaveToExcel.Name = "buttonSaveToExcel";
|
|
|
|
|
buttonSaveToExcel.Size = new Size(187, 52);
|
|
|
|
|
buttonSaveToExcel.TabIndex = 1;
|
|
|
|
|
buttonSaveToExcel.Text = "Сохранить в Excel";
|
|
|
|
|
buttonSaveToExcel.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonSaveToExcel.Click += buttonSaveToExcel_Click;
|
|
|
|
|
//
|
|
|
|
|
// FormReportPastryComponents
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(10F, 25F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(899, 651);
|
|
|
|
|
Controls.Add(buttonSaveToExcel);
|
|
|
|
|
Controls.Add(dataGridView);
|
|
|
|
|
Name = "FormReportPastryComponents";
|
|
|
|
|
Text = "Компоненты по изделиям";
|
2024-04-25 23:22:35 +04:00
|
|
|
|
Load += FormReportPastryComponents_Load;
|
2024-04-12 01:04:02 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private DataGridView dataGridView;
|
|
|
|
|
private DataGridViewTextBoxColumn ColumnComponent;
|
|
|
|
|
private DataGridViewTextBoxColumn ColumnPastry;
|
|
|
|
|
private DataGridViewTextBoxColumn ColumnCount;
|
|
|
|
|
private Button buttonSaveToExcel;
|
|
|
|
|
}
|
|
|
|
|
}
|