341 lines
14 KiB
C#
341 lines
14 KiB
C#
namespace viewmodel
|
|
{
|
|
partial class FormCreateProject
|
|
{
|
|
/// <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();
|
|
label2 = new Label();
|
|
comboBoxClient = new ComboBox();
|
|
comboBoxEmployee = new ComboBox();
|
|
groupBox1 = new GroupBox();
|
|
buttonDel = new Button();
|
|
buttonUpd = new Button();
|
|
buttonAdd = new Button();
|
|
dataGridView = new DataGridView();
|
|
ColumnFoodName = new DataGridViewTextBoxColumn();
|
|
ColumnDesc = new DataGridViewTextBoxColumn();
|
|
ColumnPrice = new DataGridViewTextBoxColumn();
|
|
buttonCancel = new Button();
|
|
buttonSave = new Button();
|
|
textBoxPrice = new TextBox();
|
|
label4 = new Label();
|
|
groupBox2 = new GroupBox();
|
|
buttonDelTeams = new Button();
|
|
buttonUpsTeams = new Button();
|
|
buttonAddTeams = new Button();
|
|
dataGridViewTeams = new DataGridView();
|
|
dataGridViewTextBoxColumn1 = new DataGridViewTextBoxColumn();
|
|
dataGridViewTextBoxColumn2 = new DataGridViewTextBoxColumn();
|
|
dataGridViewTextBoxColumn3 = new DataGridViewTextBoxColumn();
|
|
groupBox1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
groupBox2.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)dataGridViewTeams).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(16, 9);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(46, 15);
|
|
label1.TabIndex = 0;
|
|
label1.Text = "Клиент";
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Location = new Point(16, 42);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(88, 15);
|
|
label2.TabIndex = 1;
|
|
label2.Text = "Управляющий";
|
|
//
|
|
// comboBoxClient
|
|
//
|
|
comboBoxClient.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
comboBoxClient.FormattingEnabled = true;
|
|
comboBoxClient.Location = new Point(100, 6);
|
|
comboBoxClient.Name = "comboBoxClient";
|
|
comboBoxClient.Size = new Size(249, 23);
|
|
comboBoxClient.TabIndex = 4;
|
|
//
|
|
// comboBoxEmployee
|
|
//
|
|
comboBoxEmployee.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
comboBoxEmployee.FormattingEnabled = true;
|
|
comboBoxEmployee.Location = new Point(100, 39);
|
|
comboBoxEmployee.Name = "comboBoxEmployee";
|
|
comboBoxEmployee.Size = new Size(249, 23);
|
|
comboBoxEmployee.TabIndex = 5;
|
|
//
|
|
// groupBox1
|
|
//
|
|
groupBox1.Controls.Add(buttonDel);
|
|
groupBox1.Controls.Add(buttonUpd);
|
|
groupBox1.Controls.Add(buttonAdd);
|
|
groupBox1.Controls.Add(dataGridView);
|
|
groupBox1.Location = new Point(12, 102);
|
|
groupBox1.Name = "groupBox1";
|
|
groupBox1.Size = new Size(620, 336);
|
|
groupBox1.TabIndex = 7;
|
|
groupBox1.TabStop = false;
|
|
groupBox1.Text = "Строй материалы";
|
|
//
|
|
// buttonDel
|
|
//
|
|
buttonDel.Location = new Point(480, 123);
|
|
buttonDel.Name = "buttonDel";
|
|
buttonDel.Size = new Size(118, 35);
|
|
buttonDel.TabIndex = 10;
|
|
buttonDel.Text = "Удалить";
|
|
buttonDel.UseVisualStyleBackColor = true;
|
|
buttonDel.Click += buttonDel_Click;
|
|
//
|
|
// buttonUpd
|
|
//
|
|
buttonUpd.Location = new Point(480, 72);
|
|
buttonUpd.Name = "buttonUpd";
|
|
buttonUpd.Size = new Size(118, 35);
|
|
buttonUpd.TabIndex = 9;
|
|
buttonUpd.Text = "Изменить";
|
|
buttonUpd.UseVisualStyleBackColor = true;
|
|
buttonUpd.Click += buttonUpd_Click;
|
|
//
|
|
// buttonAdd
|
|
//
|
|
buttonAdd.Location = new Point(480, 22);
|
|
buttonAdd.Name = "buttonAdd";
|
|
buttonAdd.Size = new Size(118, 35);
|
|
buttonAdd.TabIndex = 8;
|
|
buttonAdd.Text = "Добавить";
|
|
buttonAdd.UseVisualStyleBackColor = true;
|
|
buttonAdd.Click += buttonAdd_Click;
|
|
//
|
|
// dataGridView
|
|
//
|
|
dataGridView.AllowUserToAddRows = false;
|
|
dataGridView.AllowUserToDeleteRows = false;
|
|
dataGridView.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
|
dataGridView.BackgroundColor = Color.White;
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridView.Columns.AddRange(new DataGridViewColumn[] { ColumnFoodName, ColumnDesc, ColumnPrice });
|
|
dataGridView.Location = new Point(6, 22);
|
|
dataGridView.Name = "dataGridView";
|
|
dataGridView.ReadOnly = true;
|
|
dataGridView.RowHeadersVisible = false;
|
|
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
|
dataGridView.Size = new Size(451, 308);
|
|
dataGridView.TabIndex = 0;
|
|
//
|
|
// ColumnFoodName
|
|
//
|
|
ColumnFoodName.HeaderText = "Название";
|
|
ColumnFoodName.Name = "ColumnFoodName";
|
|
ColumnFoodName.ReadOnly = true;
|
|
//
|
|
// ColumnDesc
|
|
//
|
|
ColumnDesc.HeaderText = "Описание";
|
|
ColumnDesc.Name = "ColumnDesc";
|
|
ColumnDesc.ReadOnly = true;
|
|
//
|
|
// ColumnPrice
|
|
//
|
|
ColumnPrice.HeaderText = "Цена";
|
|
ColumnPrice.Name = "ColumnPrice";
|
|
ColumnPrice.ReadOnly = true;
|
|
//
|
|
// buttonCancel
|
|
//
|
|
buttonCancel.Location = new Point(1148, 444);
|
|
buttonCancel.Name = "buttonCancel";
|
|
buttonCancel.Size = new Size(118, 35);
|
|
buttonCancel.TabIndex = 12;
|
|
buttonCancel.Text = "Отмена";
|
|
buttonCancel.UseVisualStyleBackColor = true;
|
|
buttonCancel.Click += buttonCancel_Click;
|
|
//
|
|
// buttonSave
|
|
//
|
|
buttonSave.Location = new Point(1024, 444);
|
|
buttonSave.Name = "buttonSave";
|
|
buttonSave.Size = new Size(118, 35);
|
|
buttonSave.TabIndex = 11;
|
|
buttonSave.Text = "Сохранить";
|
|
buttonSave.UseVisualStyleBackColor = true;
|
|
buttonSave.Click += buttonSave_Click;
|
|
//
|
|
// textBoxPrice
|
|
//
|
|
textBoxPrice.Enabled = false;
|
|
textBoxPrice.Location = new Point(855, 451);
|
|
textBoxPrice.Name = "textBoxPrice";
|
|
textBoxPrice.Size = new Size(141, 23);
|
|
textBoxPrice.TabIndex = 14;
|
|
//
|
|
// label4
|
|
//
|
|
label4.AutoSize = true;
|
|
label4.Location = new Point(779, 454);
|
|
label4.Name = "label4";
|
|
label4.Size = new Size(70, 15);
|
|
label4.TabIndex = 13;
|
|
label4.Text = "Стоимость:";
|
|
//
|
|
// groupBox2
|
|
//
|
|
groupBox2.Controls.Add(buttonDelTeams);
|
|
groupBox2.Controls.Add(buttonUpsTeams);
|
|
groupBox2.Controls.Add(buttonAddTeams);
|
|
groupBox2.Controls.Add(dataGridViewTeams);
|
|
groupBox2.Location = new Point(646, 102);
|
|
groupBox2.Name = "groupBox2";
|
|
groupBox2.Size = new Size(620, 336);
|
|
groupBox2.TabIndex = 15;
|
|
groupBox2.TabStop = false;
|
|
groupBox2.Text = "Бригада";
|
|
//
|
|
// buttonDelTeams
|
|
//
|
|
buttonDelTeams.Location = new Point(480, 123);
|
|
buttonDelTeams.Name = "buttonDelTeams";
|
|
buttonDelTeams.Size = new Size(118, 35);
|
|
buttonDelTeams.TabIndex = 10;
|
|
buttonDelTeams.Text = "Удалить";
|
|
buttonDelTeams.UseVisualStyleBackColor = true;
|
|
buttonDelTeams.Click += buttonDelTeams_Click;
|
|
//
|
|
// buttonUpsTeams
|
|
//
|
|
buttonUpsTeams.Location = new Point(480, 72);
|
|
buttonUpsTeams.Name = "buttonUpsTeams";
|
|
buttonUpsTeams.Size = new Size(118, 35);
|
|
buttonUpsTeams.TabIndex = 9;
|
|
buttonUpsTeams.Text = "Изменить";
|
|
buttonUpsTeams.UseVisualStyleBackColor = true;
|
|
buttonUpsTeams.Click += buttonUpsTeams_Click;
|
|
//
|
|
// buttonAddTeams
|
|
//
|
|
buttonAddTeams.Location = new Point(480, 22);
|
|
buttonAddTeams.Name = "buttonAddTeams";
|
|
buttonAddTeams.Size = new Size(118, 35);
|
|
buttonAddTeams.TabIndex = 8;
|
|
buttonAddTeams.Text = "Добавить";
|
|
buttonAddTeams.UseVisualStyleBackColor = true;
|
|
buttonAddTeams.Click += buttonAddTeams_Click;
|
|
//
|
|
// dataGridViewTeams
|
|
//
|
|
dataGridViewTeams.AllowUserToAddRows = false;
|
|
dataGridViewTeams.AllowUserToDeleteRows = false;
|
|
dataGridViewTeams.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
|
dataGridViewTeams.BackgroundColor = Color.White;
|
|
dataGridViewTeams.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridViewTeams.Columns.AddRange(new DataGridViewColumn[] { dataGridViewTextBoxColumn1, dataGridViewTextBoxColumn2, dataGridViewTextBoxColumn3 });
|
|
dataGridViewTeams.Location = new Point(6, 22);
|
|
dataGridViewTeams.Name = "dataGridViewTeams";
|
|
dataGridViewTeams.ReadOnly = true;
|
|
dataGridViewTeams.RowHeadersVisible = false;
|
|
dataGridViewTeams.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
|
dataGridViewTeams.Size = new Size(451, 308);
|
|
dataGridViewTeams.TabIndex = 0;
|
|
//
|
|
// dataGridViewTextBoxColumn1
|
|
//
|
|
dataGridViewTextBoxColumn1.HeaderText = "Название";
|
|
dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
|
|
dataGridViewTextBoxColumn1.ReadOnly = true;
|
|
//
|
|
// dataGridViewTextBoxColumn2
|
|
//
|
|
dataGridViewTextBoxColumn2.HeaderText = "Описание";
|
|
dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
|
|
dataGridViewTextBoxColumn2.ReadOnly = true;
|
|
//
|
|
// dataGridViewTextBoxColumn3
|
|
//
|
|
dataGridViewTextBoxColumn3.HeaderText = "Цена";
|
|
dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
|
|
dataGridViewTextBoxColumn3.ReadOnly = true;
|
|
//
|
|
// FormCreateProject
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(1289, 490);
|
|
Controls.Add(groupBox2);
|
|
Controls.Add(textBoxPrice);
|
|
Controls.Add(label4);
|
|
Controls.Add(buttonCancel);
|
|
Controls.Add(buttonSave);
|
|
Controls.Add(groupBox1);
|
|
Controls.Add(comboBoxEmployee);
|
|
Controls.Add(comboBoxClient);
|
|
Controls.Add(label2);
|
|
Controls.Add(label1);
|
|
Name = "FormCreateProject";
|
|
Text = "Заказ";
|
|
Load += FormCreateTask_Load;
|
|
groupBox1.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
groupBox2.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)dataGridViewTeams).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label label1;
|
|
private Label label2;
|
|
private ComboBox comboBoxClient;
|
|
private ComboBox comboBoxEmployee;
|
|
private GroupBox groupBox1;
|
|
private Button buttonDel;
|
|
private Button buttonUpd;
|
|
private Button buttonAdd;
|
|
private DataGridView dataGridView;
|
|
private Button buttonCancel;
|
|
private Button buttonSave;
|
|
private TextBox textBoxPrice;
|
|
private Label label4;
|
|
private DataGridViewTextBoxColumn ColumnFoodName;
|
|
private DataGridViewTextBoxColumn ColumnDesc;
|
|
private DataGridViewTextBoxColumn ColumnPrice;
|
|
private GroupBox groupBox2;
|
|
private Button buttonDelTeams;
|
|
private Button buttonUpsTeams;
|
|
private Button buttonAddTeams;
|
|
private DataGridView dataGridViewTeams;
|
|
private DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
|
|
private DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
|
|
private DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
|
|
}
|
|
} |