|
@@ -29,25 +29,10 @@
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
this.components = new System.ComponentModel.Container();
|
|
|
- System.Windows.Forms.Label descriptionLabel;
|
|
|
- System.Windows.Forms.Label label2;
|
|
|
- System.Windows.Forms.Label label3;
|
|
|
- System.Windows.Forms.Label colorLabel;
|
|
|
- System.Windows.Forms.Label nametkanLabel;
|
|
|
- System.Windows.Forms.Label label4;
|
|
|
- System.Windows.Forms.Label label5;
|
|
|
- System.Windows.Forms.Label widthLabel;
|
|
|
- System.Windows.Forms.Label lengthLabel;
|
|
|
- System.Windows.Forms.Label nameizdLabel;
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormManager));
|
|
|
this.BsUsers = new System.Windows.Forms.BindingSource(this.components);
|
|
|
this.factoryLVSDataSet = new FactoryLVS.FactoryLVSDataSet();
|
|
|
this.usersTableAdapter = new FactoryLVS.FactoryLVSDataSetTableAdapters.UsersTableAdapter();
|
|
|
- this.BtnSelect = new System.Windows.Forms.Button();
|
|
|
- this.BtnAll = new System.Windows.Forms.Button();
|
|
|
- this.RbtCSV = new System.Windows.Forms.RadioButton();
|
|
|
- this.RbtWord = new System.Windows.Forms.RadioButton();
|
|
|
- this.BtnProfile = new System.Windows.Forms.Button();
|
|
|
this.OtchLabel = new System.Windows.Forms.Label();
|
|
|
this.NameLabel = new System.Windows.Forms.Label();
|
|
|
this.FamLabel = new System.Windows.Forms.Label();
|
|
@@ -55,65 +40,36 @@
|
|
|
this.LblIdManager = new System.Windows.Forms.Label();
|
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
|
|
- this.tabControl1 = new System.Windows.Forms.TabControl();
|
|
|
- this.tabPage1 = new System.Windows.Forms.TabPage();
|
|
|
- this.DgvZakaz = new System.Windows.Forms.DataGridView();
|
|
|
- this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
- this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
- this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
- this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
- this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
- this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
- this.button1 = new System.Windows.Forms.Button();
|
|
|
- this.button2 = new System.Windows.Forms.Button();
|
|
|
- this.radioButton1 = new System.Windows.Forms.RadioButton();
|
|
|
- this.radioButton2 = new System.Windows.Forms.RadioButton();
|
|
|
- this.tabPage2 = new System.Windows.Forms.TabPage();
|
|
|
- this.DescriptionTextBox = new System.Windows.Forms.TextBox();
|
|
|
- this.LengthTextBox = new System.Windows.Forms.TextBox();
|
|
|
- this.WidthTextBox = new System.Windows.Forms.TextBox();
|
|
|
- this.ColorTextBox = new System.Windows.Forms.TextBox();
|
|
|
- this.NametkanTextBox = new System.Windows.Forms.TextBox();
|
|
|
- this.LVTkani = new System.Windows.Forms.ListView();
|
|
|
- this.tabPage3 = new System.Windows.Forms.TabPage();
|
|
|
- this.TbxCountFurSklad = new System.Windows.Forms.TextBox();
|
|
|
- this.TbxNameFur = new System.Windows.Forms.TextBox();
|
|
|
- this.LVFurnitura = new System.Windows.Forms.ListView();
|
|
|
- this.tabPage4 = new System.Windows.Forms.TabPage();
|
|
|
- this.BtnSave = new System.Windows.Forms.Button();
|
|
|
- this.BtnEdit = new System.Windows.Forms.Button();
|
|
|
- this.BtnAdd = new System.Windows.Forms.Button();
|
|
|
- this.TbxWidthIzd = new System.Windows.Forms.TextBox();
|
|
|
- this.TbxLengthIzd = new System.Windows.Forms.TextBox();
|
|
|
- this.TbxNameIzd = new System.Windows.Forms.TextBox();
|
|
|
- this.DgvIzd = new System.Windows.Forms.DataGridView();
|
|
|
- descriptionLabel = new System.Windows.Forms.Label();
|
|
|
- label2 = new System.Windows.Forms.Label();
|
|
|
- label3 = new System.Windows.Forms.Label();
|
|
|
- colorLabel = new System.Windows.Forms.Label();
|
|
|
- nametkanLabel = new System.Windows.Forms.Label();
|
|
|
- label4 = new System.Windows.Forms.Label();
|
|
|
- label5 = new System.Windows.Forms.Label();
|
|
|
- widthLabel = new System.Windows.Forms.Label();
|
|
|
- lengthLabel = new System.Windows.Forms.Label();
|
|
|
- nameizdLabel = new System.Windows.Forms.Label();
|
|
|
+ this.btnDrop = new System.Windows.Forms.Button();
|
|
|
+ this.label3 = new System.Windows.Forms.Label();
|
|
|
+ this.tbxWidth = new System.Windows.Forms.TextBox();
|
|
|
+ this.label2 = new System.Windows.Forms.Label();
|
|
|
+ this.tbxLenght = new System.Windows.Forms.TextBox();
|
|
|
+ this.label4 = new System.Windows.Forms.Label();
|
|
|
+ this.tbxTitle = new System.Windows.Forms.TextBox();
|
|
|
+ this.btnAdd = new System.Windows.Forms.Button();
|
|
|
+ this.dgvProducts = new System.Windows.Forms.DataGridView();
|
|
|
+ this.izdelieBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
|
|
+ this.izdelieTableAdapter = new FactoryLVS.FactoryLVSDataSetTableAdapters.IzdelieTableAdapter();
|
|
|
+ this.izdelieBindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
|
|
+ this.idizdDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.nameizdDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.lengthDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.widthDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.BtnProfile = new System.Windows.Forms.Button();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.BsUsers)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.factoryLVSDataSet)).BeginInit();
|
|
|
this.panel1.SuspendLayout();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
|
|
- this.tabControl1.SuspendLayout();
|
|
|
- this.tabPage1.SuspendLayout();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.DgvZakaz)).BeginInit();
|
|
|
- this.tabPage2.SuspendLayout();
|
|
|
- this.tabPage3.SuspendLayout();
|
|
|
- this.tabPage4.SuspendLayout();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.DgvIzd)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.dgvProducts)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.izdelieBindingSource)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.izdelieBindingSource1)).BeginInit();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
|
// BsUsers
|
|
|
//
|
|
|
+ this.BsUsers.DataMember = "Users";
|
|
|
this.BsUsers.DataSource = this.factoryLVSDataSet;
|
|
|
- this.BsUsers.Position = 0;
|
|
|
//
|
|
|
// factoryLVSDataSet
|
|
|
//
|
|
@@ -124,68 +80,10 @@
|
|
|
//
|
|
|
this.usersTableAdapter.ClearBeforeFill = true;
|
|
|
//
|
|
|
- // BtnSelect
|
|
|
- //
|
|
|
- this.BtnSelect.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(156)))), ((int)(((byte)(26)))));
|
|
|
- this.BtnSelect.Location = new System.Drawing.Point(314, 438);
|
|
|
- this.BtnSelect.Margin = new System.Windows.Forms.Padding(2);
|
|
|
- this.BtnSelect.Name = "BtnSelect";
|
|
|
- this.BtnSelect.Size = new System.Drawing.Size(227, 23);
|
|
|
- this.BtnSelect.TabIndex = 20;
|
|
|
- this.BtnSelect.Text = "Экспортировать выделенные заказы";
|
|
|
- this.BtnSelect.UseVisualStyleBackColor = false;
|
|
|
- //
|
|
|
- // BtnAll
|
|
|
- //
|
|
|
- this.BtnAll.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(156)))), ((int)(((byte)(26)))));
|
|
|
- this.BtnAll.Location = new System.Drawing.Point(137, 438);
|
|
|
- this.BtnAll.Margin = new System.Windows.Forms.Padding(2);
|
|
|
- this.BtnAll.Name = "BtnAll";
|
|
|
- this.BtnAll.Size = new System.Drawing.Size(172, 23);
|
|
|
- this.BtnAll.TabIndex = 19;
|
|
|
- this.BtnAll.Text = "Экспортировать все заказы";
|
|
|
- this.BtnAll.UseVisualStyleBackColor = false;
|
|
|
- //
|
|
|
- // RbtCSV
|
|
|
- //
|
|
|
- this.RbtCSV.AutoSize = true;
|
|
|
- this.RbtCSV.Location = new System.Drawing.Point(82, 443);
|
|
|
- this.RbtCSV.Margin = new System.Windows.Forms.Padding(2);
|
|
|
- this.RbtCSV.Name = "RbtCSV";
|
|
|
- this.RbtCSV.Size = new System.Drawing.Size(55, 17);
|
|
|
- this.RbtCSV.TabIndex = 18;
|
|
|
- this.RbtCSV.Text = "в CSV";
|
|
|
- this.RbtCSV.UseVisualStyleBackColor = true;
|
|
|
- //
|
|
|
- // RbtWord
|
|
|
- //
|
|
|
- this.RbtWord.AutoSize = true;
|
|
|
- this.RbtWord.Checked = true;
|
|
|
- this.RbtWord.Location = new System.Drawing.Point(22, 443);
|
|
|
- this.RbtWord.Margin = new System.Windows.Forms.Padding(2);
|
|
|
- this.RbtWord.Name = "RbtWord";
|
|
|
- this.RbtWord.Size = new System.Drawing.Size(60, 17);
|
|
|
- this.RbtWord.TabIndex = 17;
|
|
|
- this.RbtWord.TabStop = true;
|
|
|
- this.RbtWord.Text = "в Word";
|
|
|
- this.RbtWord.UseVisualStyleBackColor = true;
|
|
|
- //
|
|
|
- // BtnProfile
|
|
|
- //
|
|
|
- this.BtnProfile.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(156)))), ((int)(((byte)(26)))));
|
|
|
- this.BtnProfile.Location = new System.Drawing.Point(195, 145);
|
|
|
- this.BtnProfile.Margin = new System.Windows.Forms.Padding(2);
|
|
|
- this.BtnProfile.Name = "BtnProfile";
|
|
|
- this.BtnProfile.Size = new System.Drawing.Size(154, 23);
|
|
|
- this.BtnProfile.TabIndex = 26;
|
|
|
- this.BtnProfile.Text = "Профиль пользователя";
|
|
|
- this.BtnProfile.UseVisualStyleBackColor = false;
|
|
|
- this.BtnProfile.Click += new System.EventHandler(this.BtnProfile_Click);
|
|
|
- //
|
|
|
// OtchLabel
|
|
|
//
|
|
|
- this.OtchLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.BsUsers, "otch", true));
|
|
|
- this.OtchLabel.Location = new System.Drawing.Point(11, 150);
|
|
|
+ this.OtchLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.BsUsers, "Otch", true));
|
|
|
+ this.OtchLabel.Location = new System.Drawing.Point(600, 45);
|
|
|
this.OtchLabel.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
this.OtchLabel.Name = "OtchLabel";
|
|
|
this.OtchLabel.Size = new System.Drawing.Size(75, 19);
|
|
@@ -194,8 +92,8 @@
|
|
|
//
|
|
|
// NameLabel
|
|
|
//
|
|
|
- this.NameLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.BsUsers, "name", true));
|
|
|
- this.NameLabel.Location = new System.Drawing.Point(11, 131);
|
|
|
+ this.NameLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.BsUsers, "Name", true));
|
|
|
+ this.NameLabel.Location = new System.Drawing.Point(600, 27);
|
|
|
this.NameLabel.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
this.NameLabel.Name = "NameLabel";
|
|
|
this.NameLabel.Size = new System.Drawing.Size(75, 19);
|
|
@@ -204,8 +102,8 @@
|
|
|
//
|
|
|
// FamLabel
|
|
|
//
|
|
|
- this.FamLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.BsUsers, "fam", true));
|
|
|
- this.FamLabel.Location = new System.Drawing.Point(11, 113);
|
|
|
+ this.FamLabel.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.BsUsers, "Surname", true));
|
|
|
+ this.FamLabel.Location = new System.Drawing.Point(600, 9);
|
|
|
this.FamLabel.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
this.FamLabel.Name = "FamLabel";
|
|
|
this.FamLabel.Size = new System.Drawing.Size(75, 19);
|
|
@@ -217,18 +115,21 @@
|
|
|
this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(225)))));
|
|
|
this.panel1.Controls.Add(this.LblIdManager);
|
|
|
this.panel1.Controls.Add(this.label1);
|
|
|
+ this.panel1.Controls.Add(this.OtchLabel);
|
|
|
this.panel1.Controls.Add(this.pictureBox1);
|
|
|
+ this.panel1.Controls.Add(this.NameLabel);
|
|
|
+ this.panel1.Controls.Add(this.FamLabel);
|
|
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
|
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
|
|
this.panel1.Margin = new System.Windows.Forms.Padding(2);
|
|
|
this.panel1.Name = "panel1";
|
|
|
- this.panel1.Size = new System.Drawing.Size(686, 106);
|
|
|
+ this.panel1.Size = new System.Drawing.Size(885, 106);
|
|
|
this.panel1.TabIndex = 22;
|
|
|
//
|
|
|
// LblIdManager
|
|
|
//
|
|
|
this.LblIdManager.AutoSize = true;
|
|
|
- this.LblIdManager.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.BsUsers, "iduser", true));
|
|
|
+ this.LblIdManager.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.BsUsers, "id_User", true));
|
|
|
this.LblIdManager.Location = new System.Drawing.Point(603, 73);
|
|
|
this.LblIdManager.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
this.LblIdManager.Name = "LblIdManager";
|
|
@@ -258,480 +159,173 @@
|
|
|
this.pictureBox1.TabIndex = 0;
|
|
|
this.pictureBox1.TabStop = false;
|
|
|
//
|
|
|
- // tabControl1
|
|
|
- //
|
|
|
- this.tabControl1.Controls.Add(this.tabPage1);
|
|
|
- this.tabControl1.Controls.Add(this.tabPage2);
|
|
|
- this.tabControl1.Controls.Add(this.tabPage3);
|
|
|
- this.tabControl1.Controls.Add(this.tabPage4);
|
|
|
- this.tabControl1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
|
|
- this.tabControl1.Location = new System.Drawing.Point(0, 174);
|
|
|
- this.tabControl1.Margin = new System.Windows.Forms.Padding(2);
|
|
|
- this.tabControl1.Name = "tabControl1";
|
|
|
- this.tabControl1.SelectedIndex = 0;
|
|
|
- this.tabControl1.Size = new System.Drawing.Size(686, 333);
|
|
|
- this.tabControl1.TabIndex = 27;
|
|
|
- //
|
|
|
- // tabPage1
|
|
|
- //
|
|
|
- this.tabPage1.Controls.Add(this.DgvZakaz);
|
|
|
- this.tabPage1.Controls.Add(this.button1);
|
|
|
- this.tabPage1.Controls.Add(this.button2);
|
|
|
- this.tabPage1.Controls.Add(this.radioButton1);
|
|
|
- this.tabPage1.Controls.Add(this.radioButton2);
|
|
|
- this.tabPage1.Location = new System.Drawing.Point(4, 22);
|
|
|
- this.tabPage1.Margin = new System.Windows.Forms.Padding(2);
|
|
|
- this.tabPage1.Name = "tabPage1";
|
|
|
- this.tabPage1.Padding = new System.Windows.Forms.Padding(2);
|
|
|
- this.tabPage1.Size = new System.Drawing.Size(678, 307);
|
|
|
- this.tabPage1.TabIndex = 0;
|
|
|
- this.tabPage1.Text = "Заказы";
|
|
|
- this.tabPage1.UseVisualStyleBackColor = true;
|
|
|
- //
|
|
|
- // DgvZakaz
|
|
|
- //
|
|
|
- this.DgvZakaz.AllowUserToAddRows = false;
|
|
|
- this.DgvZakaz.AllowUserToDeleteRows = false;
|
|
|
- this.DgvZakaz.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
- this.DgvZakaz.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
- this.Column1,
|
|
|
- this.Column2,
|
|
|
- this.Column3,
|
|
|
- this.Column4,
|
|
|
- this.Column5,
|
|
|
- this.Column6});
|
|
|
- this.DgvZakaz.Location = new System.Drawing.Point(4, 5);
|
|
|
- this.DgvZakaz.Margin = new System.Windows.Forms.Padding(2);
|
|
|
- this.DgvZakaz.Name = "DgvZakaz";
|
|
|
- this.DgvZakaz.ReadOnly = true;
|
|
|
- this.DgvZakaz.RowHeadersVisible = false;
|
|
|
- this.DgvZakaz.RowTemplate.Height = 24;
|
|
|
- this.DgvZakaz.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
|
- this.DgvZakaz.Size = new System.Drawing.Size(664, 242);
|
|
|
- this.DgvZakaz.TabIndex = 16;
|
|
|
- //
|
|
|
- // Column1
|
|
|
- //
|
|
|
- this.Column1.HeaderText = "Изделие";
|
|
|
- this.Column1.Name = "Column1";
|
|
|
- this.Column1.ReadOnly = true;
|
|
|
- //
|
|
|
- // Column2
|
|
|
- //
|
|
|
- this.Column2.HeaderText = "Кол-во изделий";
|
|
|
- this.Column2.Name = "Column2";
|
|
|
- this.Column2.ReadOnly = true;
|
|
|
- //
|
|
|
- // Column3
|
|
|
- //
|
|
|
- this.Column3.HeaderText = "Ткань";
|
|
|
- this.Column3.Name = "Column3";
|
|
|
- this.Column3.ReadOnly = true;
|
|
|
- //
|
|
|
- // Column4
|
|
|
- //
|
|
|
- this.Column4.HeaderText = "Фурнитура";
|
|
|
- this.Column4.Name = "Column4";
|
|
|
- this.Column4.ReadOnly = true;
|
|
|
- //
|
|
|
- // Column5
|
|
|
- //
|
|
|
- this.Column5.HeaderText = "Кол-во фурнитуры";
|
|
|
- this.Column5.Name = "Column5";
|
|
|
- this.Column5.ReadOnly = true;
|
|
|
- //
|
|
|
- // Column6
|
|
|
- //
|
|
|
- this.Column6.HeaderText = "Заказчик";
|
|
|
- this.Column6.Name = "Column6";
|
|
|
- this.Column6.ReadOnly = true;
|
|
|
- //
|
|
|
- // button1
|
|
|
- //
|
|
|
- this.button1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(156)))), ((int)(((byte)(26)))));
|
|
|
- this.button1.Location = new System.Drawing.Point(307, 266);
|
|
|
- this.button1.Margin = new System.Windows.Forms.Padding(2);
|
|
|
- this.button1.Name = "button1";
|
|
|
- this.button1.Size = new System.Drawing.Size(227, 23);
|
|
|
- this.button1.TabIndex = 15;
|
|
|
- this.button1.Text = "Экспортировать выделенные заказы";
|
|
|
- this.button1.UseVisualStyleBackColor = false;
|
|
|
- //
|
|
|
- // button2
|
|
|
- //
|
|
|
- this.button2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(156)))), ((int)(((byte)(26)))));
|
|
|
- this.button2.Location = new System.Drawing.Point(130, 266);
|
|
|
- this.button2.Margin = new System.Windows.Forms.Padding(2);
|
|
|
- this.button2.Name = "button2";
|
|
|
- this.button2.Size = new System.Drawing.Size(172, 23);
|
|
|
- this.button2.TabIndex = 14;
|
|
|
- this.button2.Text = "Экспортировать все заказы";
|
|
|
- this.button2.UseVisualStyleBackColor = false;
|
|
|
- //
|
|
|
- // radioButton1
|
|
|
- //
|
|
|
- this.radioButton1.AutoSize = true;
|
|
|
- this.radioButton1.Location = new System.Drawing.Point(75, 271);
|
|
|
- this.radioButton1.Margin = new System.Windows.Forms.Padding(2);
|
|
|
- this.radioButton1.Name = "radioButton1";
|
|
|
- this.radioButton1.Size = new System.Drawing.Size(55, 17);
|
|
|
- this.radioButton1.TabIndex = 1;
|
|
|
- this.radioButton1.Text = "в CSV";
|
|
|
- this.radioButton1.UseVisualStyleBackColor = true;
|
|
|
- //
|
|
|
- // radioButton2
|
|
|
- //
|
|
|
- this.radioButton2.AutoSize = true;
|
|
|
- this.radioButton2.Checked = true;
|
|
|
- this.radioButton2.Location = new System.Drawing.Point(15, 271);
|
|
|
- this.radioButton2.Margin = new System.Windows.Forms.Padding(2);
|
|
|
- this.radioButton2.Name = "radioButton2";
|
|
|
- this.radioButton2.Size = new System.Drawing.Size(60, 17);
|
|
|
- this.radioButton2.TabIndex = 0;
|
|
|
- this.radioButton2.TabStop = true;
|
|
|
- this.radioButton2.Text = "в Word";
|
|
|
- this.radioButton2.UseVisualStyleBackColor = true;
|
|
|
- //
|
|
|
- // tabPage2
|
|
|
- //
|
|
|
- this.tabPage2.Controls.Add(descriptionLabel);
|
|
|
- this.tabPage2.Controls.Add(this.DescriptionTextBox);
|
|
|
- this.tabPage2.Controls.Add(label2);
|
|
|
- this.tabPage2.Controls.Add(this.LengthTextBox);
|
|
|
- this.tabPage2.Controls.Add(label3);
|
|
|
- this.tabPage2.Controls.Add(this.WidthTextBox);
|
|
|
- this.tabPage2.Controls.Add(colorLabel);
|
|
|
- this.tabPage2.Controls.Add(this.ColorTextBox);
|
|
|
- this.tabPage2.Controls.Add(nametkanLabel);
|
|
|
- this.tabPage2.Controls.Add(this.NametkanTextBox);
|
|
|
- this.tabPage2.Controls.Add(this.LVTkani);
|
|
|
- this.tabPage2.Location = new System.Drawing.Point(4, 22);
|
|
|
- this.tabPage2.Margin = new System.Windows.Forms.Padding(2);
|
|
|
- this.tabPage2.Name = "tabPage2";
|
|
|
- this.tabPage2.Padding = new System.Windows.Forms.Padding(2);
|
|
|
- this.tabPage2.Size = new System.Drawing.Size(678, 307);
|
|
|
- this.tabPage2.TabIndex = 1;
|
|
|
- this.tabPage2.Text = "Ткани";
|
|
|
- this.tabPage2.UseVisualStyleBackColor = true;
|
|
|
- //
|
|
|
- // descriptionLabel
|
|
|
- //
|
|
|
- descriptionLabel.AutoSize = true;
|
|
|
- descriptionLabel.Location = new System.Drawing.Point(398, 150);
|
|
|
- descriptionLabel.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
- descriptionLabel.Name = "descriptionLabel";
|
|
|
- descriptionLabel.Size = new System.Drawing.Size(60, 13);
|
|
|
- descriptionLabel.TabIndex = 20;
|
|
|
- descriptionLabel.Text = "Описание:";
|
|
|
- //
|
|
|
- // DescriptionTextBox
|
|
|
- //
|
|
|
- this.DescriptionTextBox.Location = new System.Drawing.Point(461, 148);
|
|
|
- this.DescriptionTextBox.Margin = new System.Windows.Forms.Padding(2);
|
|
|
- this.DescriptionTextBox.Name = "DescriptionTextBox";
|
|
|
- this.DescriptionTextBox.ReadOnly = true;
|
|
|
- this.DescriptionTextBox.Size = new System.Drawing.Size(109, 20);
|
|
|
- this.DescriptionTextBox.TabIndex = 21;
|
|
|
+ // btnDrop
|
|
|
//
|
|
|
- // label2
|
|
|
+ this.btnDrop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
+ this.btnDrop.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(156)))), ((int)(((byte)(26)))));
|
|
|
+ this.btnDrop.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
|
+ this.btnDrop.Location = new System.Drawing.Point(631, 416);
|
|
|
+ this.btnDrop.Margin = new System.Windows.Forms.Padding(11, 8, 11, 8);
|
|
|
+ this.btnDrop.Name = "btnDrop";
|
|
|
+ this.btnDrop.Size = new System.Drawing.Size(234, 42);
|
|
|
+ this.btnDrop.TabIndex = 31;
|
|
|
+ this.btnDrop.Text = "Сброс выделения";
|
|
|
+ this.btnDrop.UseVisualStyleBackColor = false;
|
|
|
//
|
|
|
- label2.AutoSize = true;
|
|
|
- label2.Location = new System.Drawing.Point(416, 120);
|
|
|
- label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
- label2.Name = "label2";
|
|
|
- label2.Size = new System.Drawing.Size(43, 13);
|
|
|
- label2.TabIndex = 18;
|
|
|
- label2.Text = "Длина:";
|
|
|
+ // label3
|
|
|
//
|
|
|
- // LengthTextBox
|
|
|
+ this.label3.AutoSize = true;
|
|
|
+ this.label3.Location = new System.Drawing.Point(628, 284);
|
|
|
+ this.label3.Name = "label3";
|
|
|
+ this.label3.Size = new System.Drawing.Size(46, 13);
|
|
|
+ this.label3.TabIndex = 30;
|
|
|
+ this.label3.Text = "Ширина";
|
|
|
//
|
|
|
- this.LengthTextBox.Location = new System.Drawing.Point(461, 118);
|
|
|
- this.LengthTextBox.Margin = new System.Windows.Forms.Padding(2);
|
|
|
- this.LengthTextBox.Name = "LengthTextBox";
|
|
|
- this.LengthTextBox.ReadOnly = true;
|
|
|
- this.LengthTextBox.Size = new System.Drawing.Size(109, 20);
|
|
|
- this.LengthTextBox.TabIndex = 19;
|
|
|
+ // tbxWidth
|
|
|
//
|
|
|
- // label3
|
|
|
+ this.tbxWidth.Location = new System.Drawing.Point(632, 309);
|
|
|
+ this.tbxWidth.Name = "tbxWidth";
|
|
|
+ this.tbxWidth.Size = new System.Drawing.Size(234, 20);
|
|
|
+ this.tbxWidth.TabIndex = 29;
|
|
|
+ //
|
|
|
+ // label2
|
|
|
+ //
|
|
|
+ this.label2.AutoSize = true;
|
|
|
+ this.label2.Location = new System.Drawing.Point(628, 223);
|
|
|
+ this.label2.Name = "label2";
|
|
|
+ this.label2.Size = new System.Drawing.Size(40, 13);
|
|
|
+ this.label2.TabIndex = 28;
|
|
|
+ this.label2.Text = "Длина";
|
|
|
+ //
|
|
|
+ // tbxLenght
|
|
|
//
|
|
|
- label3.AutoSize = true;
|
|
|
- label3.Location = new System.Drawing.Point(410, 91);
|
|
|
- label3.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
- label3.Name = "label3";
|
|
|
- label3.Size = new System.Drawing.Size(49, 13);
|
|
|
- label3.TabIndex = 16;
|
|
|
- label3.Text = "Ширина:";
|
|
|
- //
|
|
|
- // WidthTextBox
|
|
|
- //
|
|
|
- this.WidthTextBox.Location = new System.Drawing.Point(461, 89);
|
|
|
- this.WidthTextBox.Margin = new System.Windows.Forms.Padding(2);
|
|
|
- this.WidthTextBox.Name = "WidthTextBox";
|
|
|
- this.WidthTextBox.ReadOnly = true;
|
|
|
- this.WidthTextBox.Size = new System.Drawing.Size(109, 20);
|
|
|
- this.WidthTextBox.TabIndex = 17;
|
|
|
- //
|
|
|
- // colorLabel
|
|
|
- //
|
|
|
- colorLabel.AutoSize = true;
|
|
|
- colorLabel.Location = new System.Drawing.Point(423, 59);
|
|
|
- colorLabel.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
- colorLabel.Name = "colorLabel";
|
|
|
- colorLabel.Size = new System.Drawing.Size(35, 13);
|
|
|
- colorLabel.TabIndex = 14;
|
|
|
- colorLabel.Text = "Цвет:";
|
|
|
- //
|
|
|
- // ColorTextBox
|
|
|
- //
|
|
|
- this.ColorTextBox.Location = new System.Drawing.Point(461, 57);
|
|
|
- this.ColorTextBox.Margin = new System.Windows.Forms.Padding(2);
|
|
|
- this.ColorTextBox.Name = "ColorTextBox";
|
|
|
- this.ColorTextBox.ReadOnly = true;
|
|
|
- this.ColorTextBox.Size = new System.Drawing.Size(109, 20);
|
|
|
- this.ColorTextBox.TabIndex = 15;
|
|
|
- //
|
|
|
- // nametkanLabel
|
|
|
- //
|
|
|
- nametkanLabel.AutoSize = true;
|
|
|
- nametkanLabel.Location = new System.Drawing.Point(400, 28);
|
|
|
- nametkanLabel.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
- nametkanLabel.Name = "nametkanLabel";
|
|
|
- nametkanLabel.Size = new System.Drawing.Size(60, 13);
|
|
|
- nametkanLabel.TabIndex = 12;
|
|
|
- nametkanLabel.Text = "Название:";
|
|
|
- //
|
|
|
- // NametkanTextBox
|
|
|
- //
|
|
|
- this.NametkanTextBox.Location = new System.Drawing.Point(461, 25);
|
|
|
- this.NametkanTextBox.Margin = new System.Windows.Forms.Padding(2);
|
|
|
- this.NametkanTextBox.Name = "NametkanTextBox";
|
|
|
- this.NametkanTextBox.ReadOnly = true;
|
|
|
- this.NametkanTextBox.Size = new System.Drawing.Size(109, 20);
|
|
|
- this.NametkanTextBox.TabIndex = 13;
|
|
|
- //
|
|
|
- // LVTkani
|
|
|
- //
|
|
|
- this.LVTkani.Dock = System.Windows.Forms.DockStyle.Left;
|
|
|
- this.LVTkani.HideSelection = false;
|
|
|
- this.LVTkani.Location = new System.Drawing.Point(2, 2);
|
|
|
- this.LVTkani.Margin = new System.Windows.Forms.Padding(2);
|
|
|
- this.LVTkani.Name = "LVTkani";
|
|
|
- this.LVTkani.Size = new System.Drawing.Size(340, 303);
|
|
|
- this.LVTkani.TabIndex = 11;
|
|
|
- this.LVTkani.UseCompatibleStateImageBehavior = false;
|
|
|
- //
|
|
|
- // tabPage3
|
|
|
- //
|
|
|
- this.tabPage3.Controls.Add(label4);
|
|
|
- this.tabPage3.Controls.Add(this.TbxCountFurSklad);
|
|
|
- this.tabPage3.Controls.Add(label5);
|
|
|
- this.tabPage3.Controls.Add(this.TbxNameFur);
|
|
|
- this.tabPage3.Controls.Add(this.LVFurnitura);
|
|
|
- this.tabPage3.Location = new System.Drawing.Point(4, 22);
|
|
|
- this.tabPage3.Margin = new System.Windows.Forms.Padding(2);
|
|
|
- this.tabPage3.Name = "tabPage3";
|
|
|
- this.tabPage3.Padding = new System.Windows.Forms.Padding(2);
|
|
|
- this.tabPage3.Size = new System.Drawing.Size(678, 307);
|
|
|
- this.tabPage3.TabIndex = 2;
|
|
|
- this.tabPage3.Text = "Фурнитуры";
|
|
|
- this.tabPage3.UseVisualStyleBackColor = true;
|
|
|
+ this.tbxLenght.Location = new System.Drawing.Point(632, 248);
|
|
|
+ this.tbxLenght.Name = "tbxLenght";
|
|
|
+ this.tbxLenght.Size = new System.Drawing.Size(234, 20);
|
|
|
+ this.tbxLenght.TabIndex = 27;
|
|
|
//
|
|
|
// label4
|
|
|
//
|
|
|
- label4.AutoSize = true;
|
|
|
- label4.Location = new System.Drawing.Point(359, 87);
|
|
|
- label4.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
- label4.Name = "label4";
|
|
|
- label4.Size = new System.Drawing.Size(98, 13);
|
|
|
- label4.TabIndex = 14;
|
|
|
- label4.Text = "Кол-во на складе:";
|
|
|
- //
|
|
|
- // TbxCountFurSklad
|
|
|
- //
|
|
|
- this.TbxCountFurSklad.Location = new System.Drawing.Point(459, 87);
|
|
|
- this.TbxCountFurSklad.Margin = new System.Windows.Forms.Padding(2);
|
|
|
- this.TbxCountFurSklad.Name = "TbxCountFurSklad";
|
|
|
- this.TbxCountFurSklad.ReadOnly = true;
|
|
|
- this.TbxCountFurSklad.Size = new System.Drawing.Size(109, 20);
|
|
|
- this.TbxCountFurSklad.TabIndex = 15;
|
|
|
- //
|
|
|
- // label5
|
|
|
- //
|
|
|
- label5.AutoSize = true;
|
|
|
- label5.Location = new System.Drawing.Point(398, 58);
|
|
|
- label5.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
- label5.Name = "label5";
|
|
|
- label5.Size = new System.Drawing.Size(60, 13);
|
|
|
- label5.TabIndex = 12;
|
|
|
- label5.Text = "Название:";
|
|
|
- //
|
|
|
- // TbxNameFur
|
|
|
- //
|
|
|
- this.TbxNameFur.Location = new System.Drawing.Point(459, 55);
|
|
|
- this.TbxNameFur.Margin = new System.Windows.Forms.Padding(2);
|
|
|
- this.TbxNameFur.Name = "TbxNameFur";
|
|
|
- this.TbxNameFur.ReadOnly = true;
|
|
|
- this.TbxNameFur.Size = new System.Drawing.Size(109, 20);
|
|
|
- this.TbxNameFur.TabIndex = 13;
|
|
|
- //
|
|
|
- // LVFurnitura
|
|
|
- //
|
|
|
- this.LVFurnitura.Dock = System.Windows.Forms.DockStyle.Left;
|
|
|
- this.LVFurnitura.HideSelection = false;
|
|
|
- this.LVFurnitura.Location = new System.Drawing.Point(2, 2);
|
|
|
- this.LVFurnitura.Margin = new System.Windows.Forms.Padding(2);
|
|
|
- this.LVFurnitura.Name = "LVFurnitura";
|
|
|
- this.LVFurnitura.Size = new System.Drawing.Size(327, 303);
|
|
|
- this.LVFurnitura.TabIndex = 11;
|
|
|
- this.LVFurnitura.UseCompatibleStateImageBehavior = false;
|
|
|
- //
|
|
|
- // tabPage4
|
|
|
- //
|
|
|
- this.tabPage4.AutoScroll = true;
|
|
|
- this.tabPage4.Controls.Add(this.BtnSave);
|
|
|
- this.tabPage4.Controls.Add(this.BtnEdit);
|
|
|
- this.tabPage4.Controls.Add(this.BtnAdd);
|
|
|
- this.tabPage4.Controls.Add(widthLabel);
|
|
|
- this.tabPage4.Controls.Add(this.TbxWidthIzd);
|
|
|
- this.tabPage4.Controls.Add(lengthLabel);
|
|
|
- this.tabPage4.Controls.Add(this.TbxLengthIzd);
|
|
|
- this.tabPage4.Controls.Add(nameizdLabel);
|
|
|
- this.tabPage4.Controls.Add(this.TbxNameIzd);
|
|
|
- this.tabPage4.Controls.Add(this.DgvIzd);
|
|
|
- this.tabPage4.Location = new System.Drawing.Point(4, 22);
|
|
|
- this.tabPage4.Margin = new System.Windows.Forms.Padding(2);
|
|
|
- this.tabPage4.Name = "tabPage4";
|
|
|
- this.tabPage4.Padding = new System.Windows.Forms.Padding(2);
|
|
|
- this.tabPage4.Size = new System.Drawing.Size(678, 307);
|
|
|
- this.tabPage4.TabIndex = 3;
|
|
|
- this.tabPage4.Text = "Изделия";
|
|
|
- this.tabPage4.UseVisualStyleBackColor = true;
|
|
|
- //
|
|
|
- // BtnSave
|
|
|
- //
|
|
|
- this.BtnSave.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(156)))), ((int)(((byte)(26)))));
|
|
|
- this.BtnSave.Enabled = false;
|
|
|
- this.BtnSave.Location = new System.Drawing.Point(204, 203);
|
|
|
- this.BtnSave.Margin = new System.Windows.Forms.Padding(2);
|
|
|
- this.BtnSave.Name = "BtnSave";
|
|
|
- this.BtnSave.Size = new System.Drawing.Size(154, 23);
|
|
|
- this.BtnSave.TabIndex = 16;
|
|
|
- this.BtnSave.Text = "Сохранить";
|
|
|
- this.BtnSave.UseVisualStyleBackColor = false;
|
|
|
- //
|
|
|
- // BtnEdit
|
|
|
- //
|
|
|
- this.BtnEdit.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(156)))), ((int)(((byte)(26)))));
|
|
|
- this.BtnEdit.Location = new System.Drawing.Point(204, 145);
|
|
|
- this.BtnEdit.Margin = new System.Windows.Forms.Padding(2);
|
|
|
- this.BtnEdit.Name = "BtnEdit";
|
|
|
- this.BtnEdit.Size = new System.Drawing.Size(154, 23);
|
|
|
- this.BtnEdit.TabIndex = 15;
|
|
|
- this.BtnEdit.Text = "Редактировать";
|
|
|
- this.BtnEdit.UseVisualStyleBackColor = false;
|
|
|
- //
|
|
|
- // BtnAdd
|
|
|
- //
|
|
|
- this.BtnAdd.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(156)))), ((int)(((byte)(26)))));
|
|
|
- this.BtnAdd.Location = new System.Drawing.Point(204, 110);
|
|
|
- this.BtnAdd.Margin = new System.Windows.Forms.Padding(2);
|
|
|
- this.BtnAdd.Name = "BtnAdd";
|
|
|
- this.BtnAdd.Size = new System.Drawing.Size(154, 23);
|
|
|
- this.BtnAdd.TabIndex = 14;
|
|
|
- this.BtnAdd.Text = "Добавить";
|
|
|
- this.BtnAdd.UseVisualStyleBackColor = false;
|
|
|
- //
|
|
|
- // widthLabel
|
|
|
- //
|
|
|
- widthLabel.AutoSize = true;
|
|
|
- widthLabel.Location = new System.Drawing.Point(212, 63);
|
|
|
- widthLabel.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
- widthLabel.Name = "widthLabel";
|
|
|
- widthLabel.Size = new System.Drawing.Size(49, 13);
|
|
|
- widthLabel.TabIndex = 5;
|
|
|
- widthLabel.Text = "Ширина:";
|
|
|
- //
|
|
|
- // TbxWidthIzd
|
|
|
- //
|
|
|
- this.TbxWidthIzd.Enabled = false;
|
|
|
- this.TbxWidthIzd.Location = new System.Drawing.Point(263, 61);
|
|
|
- this.TbxWidthIzd.Margin = new System.Windows.Forms.Padding(2);
|
|
|
- this.TbxWidthIzd.Name = "TbxWidthIzd";
|
|
|
- this.TbxWidthIzd.Size = new System.Drawing.Size(96, 20);
|
|
|
- this.TbxWidthIzd.TabIndex = 6;
|
|
|
- //
|
|
|
- // lengthLabel
|
|
|
- //
|
|
|
- lengthLabel.AutoSize = true;
|
|
|
- lengthLabel.Location = new System.Drawing.Point(218, 41);
|
|
|
- lengthLabel.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
- lengthLabel.Name = "lengthLabel";
|
|
|
- lengthLabel.Size = new System.Drawing.Size(43, 13);
|
|
|
- lengthLabel.TabIndex = 3;
|
|
|
- lengthLabel.Text = "Длина:";
|
|
|
- //
|
|
|
- // TbxLengthIzd
|
|
|
- //
|
|
|
- this.TbxLengthIzd.Enabled = false;
|
|
|
- this.TbxLengthIzd.Location = new System.Drawing.Point(263, 38);
|
|
|
- this.TbxLengthIzd.Margin = new System.Windows.Forms.Padding(2);
|
|
|
- this.TbxLengthIzd.Name = "TbxLengthIzd";
|
|
|
- this.TbxLengthIzd.Size = new System.Drawing.Size(96, 20);
|
|
|
- this.TbxLengthIzd.TabIndex = 4;
|
|
|
- //
|
|
|
- // nameizdLabel
|
|
|
- //
|
|
|
- nameizdLabel.AutoSize = true;
|
|
|
- nameizdLabel.Location = new System.Drawing.Point(202, 20);
|
|
|
- nameizdLabel.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
- nameizdLabel.Name = "nameizdLabel";
|
|
|
- nameizdLabel.Size = new System.Drawing.Size(60, 13);
|
|
|
- nameizdLabel.TabIndex = 1;
|
|
|
- nameizdLabel.Text = "Название:";
|
|
|
- //
|
|
|
- // TbxNameIzd
|
|
|
- //
|
|
|
- this.TbxNameIzd.Enabled = false;
|
|
|
- this.TbxNameIzd.Location = new System.Drawing.Point(263, 15);
|
|
|
- this.TbxNameIzd.Margin = new System.Windows.Forms.Padding(2);
|
|
|
- this.TbxNameIzd.Name = "TbxNameIzd";
|
|
|
- this.TbxNameIzd.Size = new System.Drawing.Size(96, 20);
|
|
|
- this.TbxNameIzd.TabIndex = 2;
|
|
|
- //
|
|
|
- // DgvIzd
|
|
|
- //
|
|
|
- this.DgvIzd.AllowUserToAddRows = false;
|
|
|
- this.DgvIzd.AllowUserToDeleteRows = false;
|
|
|
- this.DgvIzd.AllowUserToResizeColumns = false;
|
|
|
- this.DgvIzd.AllowUserToResizeRows = false;
|
|
|
- this.DgvIzd.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
- this.DgvIzd.ColumnHeadersVisible = false;
|
|
|
- this.DgvIzd.Location = new System.Drawing.Point(8, 5);
|
|
|
- this.DgvIzd.Margin = new System.Windows.Forms.Padding(2);
|
|
|
- this.DgvIzd.Name = "DgvIzd";
|
|
|
- this.DgvIzd.ReadOnly = true;
|
|
|
- this.DgvIzd.RowHeadersVisible = false;
|
|
|
- this.DgvIzd.RowTemplate.Height = 24;
|
|
|
- this.DgvIzd.Size = new System.Drawing.Size(180, 298);
|
|
|
- this.DgvIzd.TabIndex = 0;
|
|
|
+ this.label4.AutoSize = true;
|
|
|
+ this.label4.Location = new System.Drawing.Point(628, 163);
|
|
|
+ this.label4.Name = "label4";
|
|
|
+ this.label4.Size = new System.Drawing.Size(57, 13);
|
|
|
+ this.label4.TabIndex = 26;
|
|
|
+ this.label4.Text = "Название";
|
|
|
+ //
|
|
|
+ // tbxTitle
|
|
|
+ //
|
|
|
+ this.tbxTitle.Location = new System.Drawing.Point(632, 188);
|
|
|
+ this.tbxTitle.Name = "tbxTitle";
|
|
|
+ this.tbxTitle.Size = new System.Drawing.Size(234, 20);
|
|
|
+ this.tbxTitle.TabIndex = 25;
|
|
|
+ //
|
|
|
+ // btnAdd
|
|
|
+ //
|
|
|
+ this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
+ this.btnAdd.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(156)))), ((int)(((byte)(26)))));
|
|
|
+ this.btnAdd.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
|
+ this.btnAdd.Location = new System.Drawing.Point(631, 358);
|
|
|
+ this.btnAdd.Margin = new System.Windows.Forms.Padding(11, 8, 11, 8);
|
|
|
+ this.btnAdd.Name = "btnAdd";
|
|
|
+ this.btnAdd.Size = new System.Drawing.Size(234, 42);
|
|
|
+ this.btnAdd.TabIndex = 24;
|
|
|
+ this.btnAdd.Text = "Добавить изделие";
|
|
|
+ this.btnAdd.UseVisualStyleBackColor = false;
|
|
|
+ //
|
|
|
+ // dgvProducts
|
|
|
+ //
|
|
|
+ this.dgvProducts.AllowUserToAddRows = false;
|
|
|
+ this.dgvProducts.AllowUserToDeleteRows = false;
|
|
|
+ this.dgvProducts.AutoGenerateColumns = false;
|
|
|
+ this.dgvProducts.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
+ this.dgvProducts.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
+ this.idizdDataGridViewTextBoxColumn,
|
|
|
+ this.nameizdDataGridViewTextBoxColumn,
|
|
|
+ this.lengthDataGridViewTextBoxColumn,
|
|
|
+ this.widthDataGridViewTextBoxColumn});
|
|
|
+ this.dgvProducts.DataSource = this.izdelieBindingSource1;
|
|
|
+ this.dgvProducts.Location = new System.Drawing.Point(12, 111);
|
|
|
+ this.dgvProducts.Name = "dgvProducts";
|
|
|
+ this.dgvProducts.ReadOnly = true;
|
|
|
+ this.dgvProducts.Size = new System.Drawing.Size(594, 389);
|
|
|
+ this.dgvProducts.TabIndex = 23;
|
|
|
+ //
|
|
|
+ // izdelieBindingSource
|
|
|
+ //
|
|
|
+ this.izdelieBindingSource.DataSource = this.BsUsers;
|
|
|
+ //
|
|
|
+ // izdelieTableAdapter
|
|
|
+ //
|
|
|
+ this.izdelieTableAdapter.ClearBeforeFill = true;
|
|
|
+ //
|
|
|
+ // izdelieBindingSource1
|
|
|
+ //
|
|
|
+ this.izdelieBindingSource1.DataMember = "Izdelie";
|
|
|
+ this.izdelieBindingSource1.DataSource = this.factoryLVSDataSet;
|
|
|
+ //
|
|
|
+ // idizdDataGridViewTextBoxColumn
|
|
|
+ //
|
|
|
+ this.idizdDataGridViewTextBoxColumn.DataPropertyName = "id_izd";
|
|
|
+ this.idizdDataGridViewTextBoxColumn.HeaderText = "id_izd";
|
|
|
+ this.idizdDataGridViewTextBoxColumn.Name = "idizdDataGridViewTextBoxColumn";
|
|
|
+ this.idizdDataGridViewTextBoxColumn.ReadOnly = true;
|
|
|
+ this.idizdDataGridViewTextBoxColumn.Visible = false;
|
|
|
+ //
|
|
|
+ // nameizdDataGridViewTextBoxColumn
|
|
|
+ //
|
|
|
+ this.nameizdDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
+ this.nameizdDataGridViewTextBoxColumn.DataPropertyName = "name_izd";
|
|
|
+ this.nameizdDataGridViewTextBoxColumn.HeaderText = "Название изделия";
|
|
|
+ this.nameizdDataGridViewTextBoxColumn.Name = "nameizdDataGridViewTextBoxColumn";
|
|
|
+ this.nameizdDataGridViewTextBoxColumn.ReadOnly = true;
|
|
|
+ //
|
|
|
+ // lengthDataGridViewTextBoxColumn
|
|
|
+ //
|
|
|
+ this.lengthDataGridViewTextBoxColumn.DataPropertyName = "length";
|
|
|
+ this.lengthDataGridViewTextBoxColumn.HeaderText = "Длина";
|
|
|
+ this.lengthDataGridViewTextBoxColumn.Name = "lengthDataGridViewTextBoxColumn";
|
|
|
+ this.lengthDataGridViewTextBoxColumn.ReadOnly = true;
|
|
|
+ //
|
|
|
+ // widthDataGridViewTextBoxColumn
|
|
|
+ //
|
|
|
+ this.widthDataGridViewTextBoxColumn.DataPropertyName = "width";
|
|
|
+ this.widthDataGridViewTextBoxColumn.HeaderText = "Ширина";
|
|
|
+ this.widthDataGridViewTextBoxColumn.Name = "widthDataGridViewTextBoxColumn";
|
|
|
+ this.widthDataGridViewTextBoxColumn.ReadOnly = true;
|
|
|
+ //
|
|
|
+ // BtnProfile
|
|
|
+ //
|
|
|
+ this.BtnProfile.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(156)))), ((int)(((byte)(26)))));
|
|
|
+ this.BtnProfile.Location = new System.Drawing.Point(632, 111);
|
|
|
+ this.BtnProfile.Margin = new System.Windows.Forms.Padding(2);
|
|
|
+ this.BtnProfile.Name = "BtnProfile";
|
|
|
+ this.BtnProfile.Size = new System.Drawing.Size(234, 42);
|
|
|
+ this.BtnProfile.TabIndex = 32;
|
|
|
+ this.BtnProfile.Text = "Профиль пользователя";
|
|
|
+ this.BtnProfile.UseVisualStyleBackColor = false;
|
|
|
+ this.BtnProfile.Click += new System.EventHandler(this.BtnProfile_Click_1);
|
|
|
//
|
|
|
// FormManager
|
|
|
//
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
- this.ClientSize = new System.Drawing.Size(686, 507);
|
|
|
- this.Controls.Add(this.tabControl1);
|
|
|
+ this.ClientSize = new System.Drawing.Size(885, 518);
|
|
|
this.Controls.Add(this.BtnProfile);
|
|
|
- this.Controls.Add(this.OtchLabel);
|
|
|
- this.Controls.Add(this.NameLabel);
|
|
|
- this.Controls.Add(this.FamLabel);
|
|
|
+ this.Controls.Add(this.btnDrop);
|
|
|
+ this.Controls.Add(this.label3);
|
|
|
+ this.Controls.Add(this.tbxWidth);
|
|
|
+ this.Controls.Add(this.label2);
|
|
|
+ this.Controls.Add(this.tbxLenght);
|
|
|
+ this.Controls.Add(this.label4);
|
|
|
+ this.Controls.Add(this.tbxTitle);
|
|
|
+ this.Controls.Add(this.btnAdd);
|
|
|
+ this.Controls.Add(this.dgvProducts);
|
|
|
this.Controls.Add(this.panel1);
|
|
|
- this.Controls.Add(this.BtnSelect);
|
|
|
- this.Controls.Add(this.BtnAll);
|
|
|
- this.Controls.Add(this.RbtCSV);
|
|
|
- this.Controls.Add(this.RbtWord);
|
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
|
- this.MinimumSize = new System.Drawing.Size(702, 546);
|
|
|
+ this.MaximizeBox = false;
|
|
|
+ this.MaximumSize = new System.Drawing.Size(901, 557);
|
|
|
+ this.MinimumSize = new System.Drawing.Size(901, 557);
|
|
|
this.Name = "FormManager";
|
|
|
this.Text = "СУБД \"Швейная фабрика\"";
|
|
|
this.Load += new System.EventHandler(this.FormManager_Load);
|
|
@@ -740,17 +334,9 @@
|
|
|
this.panel1.ResumeLayout(false);
|
|
|
this.panel1.PerformLayout();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
|
|
- this.tabControl1.ResumeLayout(false);
|
|
|
- this.tabPage1.ResumeLayout(false);
|
|
|
- this.tabPage1.PerformLayout();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.DgvZakaz)).EndInit();
|
|
|
- this.tabPage2.ResumeLayout(false);
|
|
|
- this.tabPage2.PerformLayout();
|
|
|
- this.tabPage3.ResumeLayout(false);
|
|
|
- this.tabPage3.PerformLayout();
|
|
|
- this.tabPage4.ResumeLayout(false);
|
|
|
- this.tabPage4.PerformLayout();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.DgvIzd)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.dgvProducts)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.izdelieBindingSource)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.izdelieBindingSource1)).EndInit();
|
|
|
this.ResumeLayout(false);
|
|
|
this.PerformLayout();
|
|
|
|
|
@@ -760,11 +346,6 @@
|
|
|
private FactoryLVSDataSet factoryLVSDataSet;
|
|
|
private FactoryLVSDataSetTableAdapters.UsersTableAdapter usersTableAdapter;
|
|
|
public System.Windows.Forms.BindingSource BsUsers;
|
|
|
- private System.Windows.Forms.Button BtnSelect;
|
|
|
- private System.Windows.Forms.Button BtnAll;
|
|
|
- private System.Windows.Forms.RadioButton RbtCSV;
|
|
|
- private System.Windows.Forms.RadioButton RbtWord;
|
|
|
- private System.Windows.Forms.Button BtnProfile;
|
|
|
private System.Windows.Forms.Label OtchLabel;
|
|
|
private System.Windows.Forms.Label NameLabel;
|
|
|
private System.Windows.Forms.Label FamLabel;
|
|
@@ -772,37 +353,22 @@
|
|
|
private System.Windows.Forms.Label LblIdManager;
|
|
|
private System.Windows.Forms.Label label1;
|
|
|
private System.Windows.Forms.PictureBox pictureBox1;
|
|
|
- private System.Windows.Forms.TabControl tabControl1;
|
|
|
- private System.Windows.Forms.TabPage tabPage1;
|
|
|
- private System.Windows.Forms.DataGridView DgvZakaz;
|
|
|
- private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
|
|
|
- private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
|
|
|
- private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
|
|
|
- private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
|
|
|
- private System.Windows.Forms.DataGridViewTextBoxColumn Column5;
|
|
|
- private System.Windows.Forms.DataGridViewTextBoxColumn Column6;
|
|
|
- private System.Windows.Forms.Button button1;
|
|
|
- private System.Windows.Forms.Button button2;
|
|
|
- private System.Windows.Forms.RadioButton radioButton1;
|
|
|
- private System.Windows.Forms.RadioButton radioButton2;
|
|
|
- private System.Windows.Forms.TabPage tabPage2;
|
|
|
- private System.Windows.Forms.TextBox DescriptionTextBox;
|
|
|
- private System.Windows.Forms.TextBox LengthTextBox;
|
|
|
- private System.Windows.Forms.TextBox WidthTextBox;
|
|
|
- private System.Windows.Forms.TextBox ColorTextBox;
|
|
|
- private System.Windows.Forms.TextBox NametkanTextBox;
|
|
|
- private System.Windows.Forms.ListView LVTkani;
|
|
|
- private System.Windows.Forms.TabPage tabPage3;
|
|
|
- private System.Windows.Forms.TextBox TbxCountFurSklad;
|
|
|
- private System.Windows.Forms.TextBox TbxNameFur;
|
|
|
- private System.Windows.Forms.ListView LVFurnitura;
|
|
|
- private System.Windows.Forms.TabPage tabPage4;
|
|
|
- private System.Windows.Forms.Button BtnSave;
|
|
|
- private System.Windows.Forms.Button BtnEdit;
|
|
|
- private System.Windows.Forms.Button BtnAdd;
|
|
|
- private System.Windows.Forms.TextBox TbxWidthIzd;
|
|
|
- private System.Windows.Forms.TextBox TbxLengthIzd;
|
|
|
- private System.Windows.Forms.TextBox TbxNameIzd;
|
|
|
- private System.Windows.Forms.DataGridView DgvIzd;
|
|
|
+ private System.Windows.Forms.Button btnDrop;
|
|
|
+ private System.Windows.Forms.Label label3;
|
|
|
+ private System.Windows.Forms.TextBox tbxWidth;
|
|
|
+ private System.Windows.Forms.Label label2;
|
|
|
+ private System.Windows.Forms.TextBox tbxLenght;
|
|
|
+ private System.Windows.Forms.Label label4;
|
|
|
+ private System.Windows.Forms.TextBox tbxTitle;
|
|
|
+ private System.Windows.Forms.Button btnAdd;
|
|
|
+ private System.Windows.Forms.DataGridView dgvProducts;
|
|
|
+ private System.Windows.Forms.BindingSource izdelieBindingSource;
|
|
|
+ private FactoryLVSDataSetTableAdapters.IzdelieTableAdapter izdelieTableAdapter;
|
|
|
+ private System.Windows.Forms.DataGridViewTextBoxColumn idizdDataGridViewTextBoxColumn;
|
|
|
+ private System.Windows.Forms.DataGridViewTextBoxColumn nameizdDataGridViewTextBoxColumn;
|
|
|
+ private System.Windows.Forms.DataGridViewTextBoxColumn lengthDataGridViewTextBoxColumn;
|
|
|
+ private System.Windows.Forms.DataGridViewTextBoxColumn widthDataGridViewTextBoxColumn;
|
|
|
+ private System.Windows.Forms.BindingSource izdelieBindingSource1;
|
|
|
+ private System.Windows.Forms.Button BtnProfile;
|
|
|
}
|
|
|
}
|