2024-03-24 18:34:06 +04:00
|
|
|
|
namespace SushiBarView
|
|
|
|
|
{
|
|
|
|
|
partial class FormReportSushiComponent
|
|
|
|
|
{
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
|
|
|
|
dataGridView1 = new DataGridView();
|
|
|
|
|
Component = new DataGridViewTextBoxColumn();
|
|
|
|
|
Sushi = new DataGridViewTextBoxColumn();
|
|
|
|
|
Count = new DataGridViewTextBoxColumn();
|
|
|
|
|
buttonSaveToExcel = new Button();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView1).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// dataGridView1
|
|
|
|
|
//
|
|
|
|
|
dataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
|
|
|
|
dataGridView1.BackgroundColor = Color.LightGoldenrodYellow;
|
|
|
|
|
dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
dataGridView1.Columns.AddRange(new DataGridViewColumn[] { Component, Sushi, Count });
|
|
|
|
|
dataGridView1.Dock = DockStyle.Bottom;
|
|
|
|
|
dataGridView1.Location = new Point(0, 57);
|
|
|
|
|
dataGridView1.Name = "dataGridView1";
|
|
|
|
|
dataGridView1.RowHeadersVisible = false;
|
|
|
|
|
dataGridView1.RowHeadersWidth = 51;
|
|
|
|
|
dataGridView1.Size = new Size(800, 448);
|
|
|
|
|
dataGridView1.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// Component
|
|
|
|
|
//
|
|
|
|
|
Component.HeaderText = "Компонент";
|
|
|
|
|
Component.MinimumWidth = 6;
|
|
|
|
|
Component.Name = "Component";
|
|
|
|
|
//
|
|
|
|
|
// Sushi
|
|
|
|
|
//
|
|
|
|
|
Sushi.HeaderText = "Суши";
|
|
|
|
|
Sushi.MinimumWidth = 6;
|
|
|
|
|
Sushi.Name = "Sushi";
|
|
|
|
|
//
|
|
|
|
|
// Count
|
|
|
|
|
//
|
|
|
|
|
Count.HeaderText = "Количество";
|
|
|
|
|
Count.MinimumWidth = 6;
|
|
|
|
|
Count.Name = "Count";
|
|
|
|
|
//
|
|
|
|
|
// buttonSaveToExcel
|
|
|
|
|
//
|
|
|
|
|
buttonSaveToExcel.BackColor = Color.Goldenrod;
|
|
|
|
|
buttonSaveToExcel.Location = new Point(319, 9);
|
|
|
|
|
buttonSaveToExcel.Name = "buttonSaveToExcel";
|
|
|
|
|
buttonSaveToExcel.Size = new Size(170, 36);
|
|
|
|
|
buttonSaveToExcel.TabIndex = 1;
|
|
|
|
|
buttonSaveToExcel.Text = "Сохранить в Excel";
|
|
|
|
|
buttonSaveToExcel.UseVisualStyleBackColor = false;
|
2024-03-24 20:42:18 +04:00
|
|
|
|
buttonSaveToExcel.Click += ButtonSaveToExcel_Click;
|
2024-03-24 18:34:06 +04:00
|
|
|
|
//
|
|
|
|
|
// FormReportSushiComponent
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(800, 505);
|
|
|
|
|
Controls.Add(buttonSaveToExcel);
|
|
|
|
|
Controls.Add(dataGridView1);
|
|
|
|
|
Name = "FormReportSushiComponent";
|
|
|
|
|
Text = "Компоненты по изделиям";
|
2024-03-24 20:42:18 +04:00
|
|
|
|
Load += FormReportProductComponents_Load;
|
2024-03-24 18:34:06 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView1).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private DataGridView dataGridView1;
|
|
|
|
|
private Button buttonSaveToExcel;
|
|
|
|
|
private DataGridViewTextBoxColumn Component;
|
|
|
|
|
private DataGridViewTextBoxColumn Sushi;
|
|
|
|
|
private DataGridViewTextBoxColumn Count;
|
|
|
|
|
}
|
|
|
|
|
}
|