97 lines
3.6 KiB
C#
97 lines
3.6 KiB
C#
namespace MotorPlantView.Forms
|
|
{
|
|
partial class FormReportEngineComponents
|
|
{
|
|
/// <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()
|
|
{
|
|
ButtonSaveToExcel = new Button();
|
|
dataGridView = new DataGridView();
|
|
Component = new DataGridViewTextBoxColumn();
|
|
Engine = new DataGridViewTextBoxColumn();
|
|
Count = new DataGridViewTextBoxColumn();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// buttonSaveToExcel
|
|
//
|
|
ButtonSaveToExcel.Location = new Point(12, 12);
|
|
ButtonSaveToExcel.Name = "ButtonSaveToExcel";
|
|
ButtonSaveToExcel.Size = new Size(150, 30);
|
|
ButtonSaveToExcel.TabIndex = 0;
|
|
ButtonSaveToExcel.Text = "Сохранить в Excel";
|
|
ButtonSaveToExcel.UseVisualStyleBackColor = true;
|
|
ButtonSaveToExcel.Click += ButtonSaveToExcel_Click;
|
|
//
|
|
// dataGridView
|
|
//
|
|
dataGridView.BackgroundColor = SystemColors.ButtonHighlight;
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridView.Columns.AddRange(new DataGridViewColumn[] { Component, Engine, Count });
|
|
dataGridView.Location = new Point(12, 48);
|
|
dataGridView.Name = "dataGridView";
|
|
dataGridView.RowTemplate.Height = 25;
|
|
dataGridView.Size = new Size(560, 501);
|
|
dataGridView.TabIndex = 1;
|
|
//
|
|
// Component
|
|
//
|
|
Component.HeaderText = "Компонент";
|
|
Component.Name = "Component";
|
|
//
|
|
// Computer
|
|
//
|
|
Engine.HeaderText = "Двигатель";
|
|
Engine.Name = "Engine";
|
|
//
|
|
// Count
|
|
//
|
|
Count.HeaderText = "Количество";
|
|
Count.Name = "Count";
|
|
//
|
|
// FormReportComputerComponents
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(584, 561);
|
|
Controls.Add(dataGridView);
|
|
Controls.Add(ButtonSaveToExcel);
|
|
Name = "FormReportEngineComponents";
|
|
Text = "Компоненты по изделиям";
|
|
Load += FormReportEngineComponents_Load;
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Button ButtonSaveToExcel;
|
|
private DataGridView dataGridView;
|
|
private DataGridViewTextBoxColumn Component;
|
|
private DataGridViewTextBoxColumn Engine;
|
|
private DataGridViewTextBoxColumn Count;
|
|
}
|
|
} |