115 lines
4.3 KiB
C#
115 lines
4.3 KiB
C#
|
namespace GiftShopView
|
|||
|
{
|
|||
|
partial class FormReportGiftComponents
|
|||
|
{
|
|||
|
/// <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();
|
|||
|
ButtonSaveToExcel = new Button();
|
|||
|
Component = new DataGridViewTextBoxColumn();
|
|||
|
Gift = new DataGridViewTextBoxColumn();
|
|||
|
Count = new DataGridViewTextBoxColumn();
|
|||
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|||
|
SuspendLayout();
|
|||
|
//
|
|||
|
// dataGridView
|
|||
|
//
|
|||
|
dataGridView.AllowUserToAddRows = false;
|
|||
|
dataGridView.AllowUserToDeleteRows = false;
|
|||
|
dataGridView.AllowUserToOrderColumns = true;
|
|||
|
dataGridView.AllowUserToResizeColumns = false;
|
|||
|
dataGridView.BackgroundColor = SystemColors.ControlLightLight;
|
|||
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|||
|
dataGridView.Columns.AddRange(new DataGridViewColumn[] { Component, Gift, Count });
|
|||
|
dataGridView.Dock = DockStyle.Bottom;
|
|||
|
dataGridView.Location = new Point(0, 68);
|
|||
|
dataGridView.MultiSelect = false;
|
|||
|
dataGridView.Name = "dataGridView";
|
|||
|
dataGridView.ReadOnly = true;
|
|||
|
dataGridView.RowHeadersVisible = false;
|
|||
|
dataGridView.RowHeadersWidth = 51;
|
|||
|
dataGridView.RowTemplate.Height = 29;
|
|||
|
dataGridView.Size = new Size(453, 382);
|
|||
|
dataGridView.TabIndex = 0;
|
|||
|
//
|
|||
|
// ButtonSaveToExcel
|
|||
|
//
|
|||
|
ButtonSaveToExcel.Location = new Point(13, 17);
|
|||
|
ButtonSaveToExcel.Name = "ButtonSaveToExcel";
|
|||
|
ButtonSaveToExcel.Size = new Size(172, 29);
|
|||
|
ButtonSaveToExcel.TabIndex = 1;
|
|||
|
ButtonSaveToExcel.Text = "Сохранить в Exel";
|
|||
|
ButtonSaveToExcel.UseVisualStyleBackColor = true;
|
|||
|
ButtonSaveToExcel.Click += ButtonSaveToExcel_Click;
|
|||
|
//
|
|||
|
// Component
|
|||
|
//
|
|||
|
Component.HeaderText = "Компонент";
|
|||
|
Component.MinimumWidth = 6;
|
|||
|
Component.Name = "Component";
|
|||
|
Component.ReadOnly = true;
|
|||
|
Component.Width = 125;
|
|||
|
//
|
|||
|
// Gift
|
|||
|
//
|
|||
|
Gift.HeaderText = "Изделие";
|
|||
|
Gift.MinimumWidth = 6;
|
|||
|
Gift.Name = "Gift";
|
|||
|
Gift.ReadOnly = true;
|
|||
|
Gift.Width = 125;
|
|||
|
//
|
|||
|
// Count
|
|||
|
//
|
|||
|
Count.HeaderText = "Количество";
|
|||
|
Count.MinimumWidth = 6;
|
|||
|
Count.Name = "Count";
|
|||
|
Count.ReadOnly = true;
|
|||
|
Count.Width = 125;
|
|||
|
//
|
|||
|
// FormReportGiftComponents
|
|||
|
//
|
|||
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|||
|
AutoScaleMode = AutoScaleMode.Font;
|
|||
|
ClientSize = new Size(453, 450);
|
|||
|
Controls.Add(ButtonSaveToExcel);
|
|||
|
Controls.Add(dataGridView);
|
|||
|
Name = "FormReportGiftComponents";
|
|||
|
Text = "Компоненты по изделиям";
|
|||
|
Load += FormReportGiftComponents_Load;
|
|||
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|||
|
ResumeLayout(false);
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private DataGridView dataGridView;
|
|||
|
private Button ButtonSaveToExcel;
|
|||
|
private DataGridViewTextBoxColumn Component;
|
|||
|
private DataGridViewTextBoxColumn Gift;
|
|||
|
private DataGridViewTextBoxColumn Count;
|
|||
|
}
|
|||
|
}
|