148 lines
5.9 KiB
C#
148 lines
5.9 KiB
C#
|
namespace GasStation.Forms
|
|||
|
{
|
|||
|
partial class FormSupply
|
|||
|
{
|
|||
|
/// <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()
|
|||
|
{
|
|||
|
buttonSave = new Button();
|
|||
|
buttonCancel = new Button();
|
|||
|
labelSupplier = new Label();
|
|||
|
groupBoxSupply = new GroupBox();
|
|||
|
dataGridViewSupply = new DataGridView();
|
|||
|
ColumnProduct = new DataGridViewComboBoxColumn();
|
|||
|
ColumnCount = new DataGridViewTextBoxColumn();
|
|||
|
comboBoxSupplier = new ComboBox();
|
|||
|
groupBoxSupply.SuspendLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)dataGridViewSupply).BeginInit();
|
|||
|
SuspendLayout();
|
|||
|
//
|
|||
|
// buttonSave
|
|||
|
//
|
|||
|
buttonSave.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
|||
|
buttonSave.Location = new Point(21, 290);
|
|||
|
buttonSave.Name = "buttonSave";
|
|||
|
buttonSave.Size = new Size(89, 24);
|
|||
|
buttonSave.TabIndex = 1;
|
|||
|
buttonSave.Text = "Сохранить";
|
|||
|
buttonSave.UseVisualStyleBackColor = true;
|
|||
|
buttonSave.Click += ButtonSave_Click;
|
|||
|
//
|
|||
|
// buttonCancel
|
|||
|
//
|
|||
|
buttonCancel.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|||
|
buttonCancel.Location = new Point(221, 290);
|
|||
|
buttonCancel.Name = "buttonCancel";
|
|||
|
buttonCancel.Size = new Size(92, 24);
|
|||
|
buttonCancel.TabIndex = 2;
|
|||
|
buttonCancel.Text = "Отмена";
|
|||
|
buttonCancel.UseVisualStyleBackColor = true;
|
|||
|
buttonCancel.Click += ButtonCancel_Click;
|
|||
|
//
|
|||
|
// labelSupplier
|
|||
|
//
|
|||
|
labelSupplier.AutoSize = true;
|
|||
|
labelSupplier.Location = new Point(21, 23);
|
|||
|
labelSupplier.Name = "labelSupplier";
|
|||
|
labelSupplier.Size = new Size(70, 15);
|
|||
|
labelSupplier.TabIndex = 5;
|
|||
|
labelSupplier.Text = "Поставщик";
|
|||
|
//
|
|||
|
// groupBoxSupply
|
|||
|
//
|
|||
|
groupBoxSupply.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|||
|
groupBoxSupply.Controls.Add(dataGridViewSupply);
|
|||
|
groupBoxSupply.Location = new Point(21, 62);
|
|||
|
groupBoxSupply.Name = "groupBoxSupply";
|
|||
|
groupBoxSupply.Size = new Size(292, 185);
|
|||
|
groupBoxSupply.TabIndex = 6;
|
|||
|
groupBoxSupply.TabStop = false;
|
|||
|
groupBoxSupply.Text = "Поставки";
|
|||
|
//
|
|||
|
// dataGridViewSupply
|
|||
|
//
|
|||
|
dataGridViewSupply.AllowUserToResizeColumns = false;
|
|||
|
dataGridViewSupply.AllowUserToResizeRows = false;
|
|||
|
dataGridViewSupply.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
|||
|
dataGridViewSupply.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|||
|
dataGridViewSupply.Columns.AddRange(new DataGridViewColumn[] { ColumnProduct, ColumnCount });
|
|||
|
dataGridViewSupply.Dock = DockStyle.Fill;
|
|||
|
dataGridViewSupply.Location = new Point(3, 19);
|
|||
|
dataGridViewSupply.Name = "dataGridViewSupply";
|
|||
|
dataGridViewSupply.RowHeadersVisible = false;
|
|||
|
dataGridViewSupply.Size = new Size(286, 163);
|
|||
|
dataGridViewSupply.TabIndex = 0;
|
|||
|
//
|
|||
|
// ColumnProduct
|
|||
|
//
|
|||
|
ColumnProduct.HeaderText = "Товар";
|
|||
|
ColumnProduct.Name = "ColumnProduct";
|
|||
|
ColumnProduct.Resizable = DataGridViewTriState.True;
|
|||
|
ColumnProduct.SortMode = DataGridViewColumnSortMode.Automatic;
|
|||
|
//
|
|||
|
// ColumnCount
|
|||
|
//
|
|||
|
ColumnCount.HeaderText = "Кол-во";
|
|||
|
ColumnCount.Name = "ColumnCount";
|
|||
|
//
|
|||
|
// comboBoxSupplier
|
|||
|
//
|
|||
|
comboBoxSupplier.FormattingEnabled = true;
|
|||
|
comboBoxSupplier.Location = new Point(97, 23);
|
|||
|
comboBoxSupplier.Name = "comboBoxSupplier";
|
|||
|
comboBoxSupplier.Size = new Size(216, 23);
|
|||
|
comboBoxSupplier.TabIndex = 7;
|
|||
|
//
|
|||
|
// FormSupply
|
|||
|
//
|
|||
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|||
|
AutoScaleMode = AutoScaleMode.Font;
|
|||
|
ClientSize = new Size(435, 380);
|
|||
|
Controls.Add(comboBoxSupplier);
|
|||
|
Controls.Add(groupBoxSupply);
|
|||
|
Controls.Add(labelSupplier);
|
|||
|
Controls.Add(buttonCancel);
|
|||
|
Controls.Add(buttonSave);
|
|||
|
Name = "FormSupply";
|
|||
|
Text = "Поставки";
|
|||
|
groupBoxSupply.ResumeLayout(false);
|
|||
|
((System.ComponentModel.ISupportInitialize)dataGridViewSupply).EndInit();
|
|||
|
ResumeLayout(false);
|
|||
|
PerformLayout();
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private Button buttonSave;
|
|||
|
private Button buttonCancel;
|
|||
|
private Label labelSupplier;
|
|||
|
private GroupBox groupBoxSupply;
|
|||
|
private DataGridView dataGridViewSupply;
|
|||
|
private ComboBox comboBoxSupplier;
|
|||
|
private DataGridViewComboBoxColumn ColumnProduct;
|
|||
|
private DataGridViewTextBoxColumn ColumnCount;
|
|||
|
}
|
|||
|
}
|