217 lines
8.9 KiB
C#
217 lines
8.9 KiB
C#
namespace ProjectOptika.Scripts.Forms
|
|
{
|
|
partial class FormItemOrder
|
|
{
|
|
/// <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()
|
|
{
|
|
buttonCancel = new Button();
|
|
buttonSave = new Button();
|
|
groupBoxAccessories = new GroupBox();
|
|
dataGridViewAccessories = new DataGridView();
|
|
ColumnAccessory = new DataGridViewComboBoxColumn();
|
|
ColumnCount = new DataGridViewTextBoxColumn();
|
|
labelEmployee = new Label();
|
|
labelClient = new Label();
|
|
labelDate = new Label();
|
|
labelTotalCost = new Label();
|
|
comboBoxEmployee = new ComboBox();
|
|
comboBoxClient = new ComboBox();
|
|
dateTimePickerData = new DateTimePicker();
|
|
numericUpDownNumTotalCost = new NumericUpDown();
|
|
groupBoxAccessories.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)dataGridViewAccessories).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownNumTotalCost).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// buttonCancel
|
|
//
|
|
buttonCancel.Location = new Point(215, 445);
|
|
buttonCancel.Name = "buttonCancel";
|
|
buttonCancel.Size = new Size(122, 41);
|
|
buttonCancel.TabIndex = 8;
|
|
buttonCancel.Text = "Отмена";
|
|
buttonCancel.UseVisualStyleBackColor = true;
|
|
buttonCancel.Click += ButtonCancel_Click;
|
|
//
|
|
// buttonSave
|
|
//
|
|
buttonSave.Location = new Point(12, 445);
|
|
buttonSave.Name = "buttonSave";
|
|
buttonSave.Size = new Size(122, 41);
|
|
buttonSave.TabIndex = 7;
|
|
buttonSave.Text = "Сохранить";
|
|
buttonSave.UseVisualStyleBackColor = true;
|
|
buttonSave.Click += ButtonSave_Click;
|
|
//
|
|
// groupBoxAccessories
|
|
//
|
|
groupBoxAccessories.Controls.Add(dataGridViewAccessories);
|
|
groupBoxAccessories.Location = new Point(464, 12);
|
|
groupBoxAccessories.Name = "groupBoxAccessories";
|
|
groupBoxAccessories.Size = new Size(307, 445);
|
|
groupBoxAccessories.TabIndex = 13;
|
|
groupBoxAccessories.TabStop = false;
|
|
groupBoxAccessories.Text = "Аксессуары:";
|
|
//
|
|
// dataGridViewAccessories
|
|
//
|
|
dataGridViewAccessories.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
|
dataGridViewAccessories.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridViewAccessories.Columns.AddRange(new DataGridViewColumn[] { ColumnAccessory, ColumnCount });
|
|
dataGridViewAccessories.Location = new Point(6, 26);
|
|
dataGridViewAccessories.Name = "dataGridViewAccessories";
|
|
dataGridViewAccessories.RowHeadersVisible = false;
|
|
dataGridViewAccessories.RowHeadersWidth = 51;
|
|
dataGridViewAccessories.Size = new Size(295, 413);
|
|
dataGridViewAccessories.TabIndex = 0;
|
|
//
|
|
// ColumnAccessory
|
|
//
|
|
ColumnAccessory.HeaderText = "Аксессуары";
|
|
ColumnAccessory.MinimumWidth = 6;
|
|
ColumnAccessory.Name = "ColumnAccessory";
|
|
//
|
|
// ColumnCount
|
|
//
|
|
ColumnCount.HeaderText = "Количество";
|
|
ColumnCount.MinimumWidth = 6;
|
|
ColumnCount.Name = "ColumnCount";
|
|
//
|
|
// labelEmployee
|
|
//
|
|
labelEmployee.AutoSize = true;
|
|
labelEmployee.Location = new Point(12, 24);
|
|
labelEmployee.Name = "labelEmployee";
|
|
labelEmployee.Size = new Size(82, 20);
|
|
labelEmployee.TabIndex = 14;
|
|
labelEmployee.Text = "Сотрудник";
|
|
//
|
|
// labelClient
|
|
//
|
|
labelClient.AutoSize = true;
|
|
labelClient.Location = new Point(12, 104);
|
|
labelClient.Name = "labelClient";
|
|
labelClient.Size = new Size(58, 20);
|
|
labelClient.TabIndex = 15;
|
|
labelClient.Text = "Клиент";
|
|
//
|
|
// labelDate
|
|
//
|
|
labelDate.AutoSize = true;
|
|
labelDate.Location = new Point(12, 192);
|
|
labelDate.Name = "labelDate";
|
|
labelDate.Size = new Size(41, 20);
|
|
labelDate.TabIndex = 16;
|
|
labelDate.Text = "Дата";
|
|
//
|
|
// labelTotalCost
|
|
//
|
|
labelTotalCost.AutoSize = true;
|
|
labelTotalCost.Location = new Point(12, 274);
|
|
labelTotalCost.Name = "labelTotalCost";
|
|
labelTotalCost.Size = new Size(133, 20);
|
|
labelTotalCost.TabIndex = 17;
|
|
labelTotalCost.Text = "Общая стоимость";
|
|
//
|
|
// comboBoxEmployee
|
|
//
|
|
comboBoxEmployee.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
comboBoxEmployee.FormattingEnabled = true;
|
|
comboBoxEmployee.Location = new Point(194, 21);
|
|
comboBoxEmployee.Name = "comboBoxEmployee";
|
|
comboBoxEmployee.Size = new Size(238, 28);
|
|
comboBoxEmployee.TabIndex = 18;
|
|
//
|
|
// comboBoxClient
|
|
//
|
|
comboBoxClient.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
comboBoxClient.FormattingEnabled = true;
|
|
comboBoxClient.Location = new Point(194, 101);
|
|
comboBoxClient.Name = "comboBoxClient";
|
|
comboBoxClient.Size = new Size(238, 28);
|
|
comboBoxClient.TabIndex = 19;
|
|
//
|
|
// dateTimePickerData
|
|
//
|
|
dateTimePickerData.Enabled = false;
|
|
dateTimePickerData.Location = new Point(194, 187);
|
|
dateTimePickerData.Name = "dateTimePickerData";
|
|
dateTimePickerData.Size = new Size(238, 27);
|
|
dateTimePickerData.TabIndex = 20;
|
|
//
|
|
// numericUpDownNumTotalCost
|
|
//
|
|
numericUpDownNumTotalCost.Location = new Point(194, 272);
|
|
numericUpDownNumTotalCost.Name = "numericUpDownNumTotalCost";
|
|
numericUpDownNumTotalCost.Size = new Size(238, 27);
|
|
numericUpDownNumTotalCost.TabIndex = 21;
|
|
numericUpDownNumTotalCost.Value = new decimal(new int[] { 1, 0, 0, 0 });
|
|
//
|
|
// FormItemOrder
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(800, 498);
|
|
Controls.Add(numericUpDownNumTotalCost);
|
|
Controls.Add(dateTimePickerData);
|
|
Controls.Add(comboBoxClient);
|
|
Controls.Add(comboBoxEmployee);
|
|
Controls.Add(labelTotalCost);
|
|
Controls.Add(labelDate);
|
|
Controls.Add(labelClient);
|
|
Controls.Add(labelEmployee);
|
|
Controls.Add(groupBoxAccessories);
|
|
Controls.Add(buttonCancel);
|
|
Controls.Add(buttonSave);
|
|
Name = "FormItemOrder";
|
|
StartPosition = FormStartPosition.CenterParent;
|
|
Text = "Заказ";
|
|
groupBoxAccessories.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)dataGridViewAccessories).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownNumTotalCost).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Button buttonCancel;
|
|
private Button buttonSave;
|
|
private GroupBox groupBoxAccessories;
|
|
private DataGridView dataGridViewAccessories;
|
|
private DataGridViewComboBoxColumn ColumnAccessory;
|
|
private DataGridViewTextBoxColumn ColumnCount;
|
|
private Label labelEmployee;
|
|
private Label labelClient;
|
|
private Label labelDate;
|
|
private Label labelTotalCost;
|
|
private ComboBox comboBoxEmployee;
|
|
private ComboBox comboBoxClient;
|
|
private DateTimePicker dateTimePickerData;
|
|
private NumericUpDown numericUpDownNumTotalCost;
|
|
}
|
|
} |