151 lines
6.0 KiB
C#
151 lines
6.0 KiB
C#
namespace GasStation.Forms
|
|
{
|
|
partial class FormSelling
|
|
{
|
|
/// <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()
|
|
{
|
|
label1 = new Label();
|
|
comboBoxGasman = new ComboBox();
|
|
buttonSave = new Button();
|
|
buttonCancel = new Button();
|
|
groupBoxSelling = new GroupBox();
|
|
dataGridViewSelling = new DataGridView();
|
|
ColumnProduct = new DataGridViewComboBoxColumn();
|
|
ColumnCount = new DataGridViewTextBoxColumn();
|
|
groupBoxSelling.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)dataGridViewSelling).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(47, 35);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(70, 15);
|
|
label1.TabIndex = 0;
|
|
label1.Text = "Заправщик";
|
|
//
|
|
// comboBoxGasman
|
|
//
|
|
comboBoxGasman.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
comboBoxGasman.FormattingEnabled = true;
|
|
comboBoxGasman.Location = new Point(147, 35);
|
|
comboBoxGasman.Name = "comboBoxGasman";
|
|
comboBoxGasman.Size = new Size(200, 23);
|
|
comboBoxGasman.TabIndex = 4;
|
|
//
|
|
// buttonSave
|
|
//
|
|
buttonSave.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
|
buttonSave.Location = new Point(47, 358);
|
|
buttonSave.Name = "buttonSave";
|
|
buttonSave.Size = new Size(75, 23);
|
|
buttonSave.TabIndex = 6;
|
|
buttonSave.Text = "Сохранить";
|
|
buttonSave.UseVisualStyleBackColor = true;
|
|
buttonSave.Click += ButtonSave_Click;
|
|
//
|
|
// buttonCancel
|
|
//
|
|
buttonCancel.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonCancel.Location = new Point(279, 358);
|
|
buttonCancel.Name = "buttonCancel";
|
|
buttonCancel.Size = new Size(75, 23);
|
|
buttonCancel.TabIndex = 7;
|
|
buttonCancel.Text = "Отмена";
|
|
buttonCancel.UseVisualStyleBackColor = true;
|
|
buttonCancel.Click += ButtonCancel_Click;
|
|
//
|
|
// groupBoxSelling
|
|
//
|
|
groupBoxSelling.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
groupBoxSelling.Controls.Add(dataGridViewSelling);
|
|
groupBoxSelling.Location = new Point(47, 91);
|
|
groupBoxSelling.Name = "groupBoxSelling";
|
|
groupBoxSelling.Size = new Size(307, 211);
|
|
groupBoxSelling.TabIndex = 8;
|
|
groupBoxSelling.TabStop = false;
|
|
groupBoxSelling.Text = "Продажа";
|
|
//
|
|
// dataGridViewSelling
|
|
//
|
|
dataGridViewSelling.AllowUserToResizeColumns = false;
|
|
dataGridViewSelling.AllowUserToResizeRows = false;
|
|
dataGridViewSelling.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
|
dataGridViewSelling.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridViewSelling.Columns.AddRange(new DataGridViewColumn[] { ColumnProduct, ColumnCount });
|
|
dataGridViewSelling.Dock = DockStyle.Fill;
|
|
dataGridViewSelling.Location = new Point(3, 19);
|
|
dataGridViewSelling.MultiSelect = false;
|
|
dataGridViewSelling.Name = "dataGridViewSelling";
|
|
dataGridViewSelling.RowHeadersVisible = false;
|
|
dataGridViewSelling.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
|
dataGridViewSelling.Size = new Size(301, 189);
|
|
dataGridViewSelling.TabIndex = 0;
|
|
//
|
|
// ColumnProduct
|
|
//
|
|
ColumnProduct.HeaderText = "Товар";
|
|
ColumnProduct.Name = "ColumnProduct";
|
|
ColumnProduct.Resizable = DataGridViewTriState.True;
|
|
ColumnProduct.SortMode = DataGridViewColumnSortMode.Automatic;
|
|
//
|
|
// ColumnCount
|
|
//
|
|
ColumnCount.HeaderText = "Количество";
|
|
ColumnCount.Name = "ColumnCount";
|
|
//
|
|
// FormSelling
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(458, 432);
|
|
Controls.Add(groupBoxSelling);
|
|
Controls.Add(buttonCancel);
|
|
Controls.Add(buttonSave);
|
|
Controls.Add(comboBoxGasman);
|
|
Controls.Add(label1);
|
|
Name = "FormSelling";
|
|
Text = "Продажа";
|
|
groupBoxSelling.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)dataGridViewSelling).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label label1;
|
|
private ComboBox comboBoxGasman;
|
|
private Button buttonSave;
|
|
private Button buttonCancel;
|
|
private GroupBox groupBoxSelling;
|
|
private DataGridView dataGridViewSelling;
|
|
private DataGridViewComboBoxColumn ColumnProduct;
|
|
private DataGridViewTextBoxColumn ColumnCount;
|
|
}
|
|
} |