|
@@ -28,58 +28,50 @@
|
|
|
/// </summary>
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
- System.Windows.Forms.Label descriptionLabel;
|
|
|
- System.Windows.Forms.Label lengthLabel;
|
|
|
- System.Windows.Forms.Label widthLabel;
|
|
|
- System.Windows.Forms.Label colorLabel;
|
|
|
- System.Windows.Forms.Label nametkanLabel;
|
|
|
- System.Windows.Forms.Label label2;
|
|
|
- System.Windows.Forms.Label label3;
|
|
|
- System.Windows.Forms.Label label4;
|
|
|
+ this.components = new System.ComponentModel.Container();
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormAddZakaz));
|
|
|
this.BtnCancel = new System.Windows.Forms.Button();
|
|
|
this.BtnOK = new System.Windows.Forms.Button();
|
|
|
- this.tabControl1 = new System.Windows.Forms.TabControl();
|
|
|
- this.tabPage1 = new System.Windows.Forms.TabPage();
|
|
|
- this.label5 = new System.Windows.Forms.Label();
|
|
|
- this.TbxCountIzd = new System.Windows.Forms.TextBox();
|
|
|
- this.DgvIzd = new System.Windows.Forms.DataGridView();
|
|
|
- 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.TbxCountFur = new System.Windows.Forms.TextBox();
|
|
|
- this.TbxCountFurSklad = new System.Windows.Forms.TextBox();
|
|
|
- this.TbxNameFur = new System.Windows.Forms.TextBox();
|
|
|
- this.LVFurnitura = new System.Windows.Forms.ListView();
|
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
|
|
- descriptionLabel = new System.Windows.Forms.Label();
|
|
|
- lengthLabel = new System.Windows.Forms.Label();
|
|
|
- widthLabel = new System.Windows.Forms.Label();
|
|
|
- colorLabel = new System.Windows.Forms.Label();
|
|
|
- nametkanLabel = new System.Windows.Forms.Label();
|
|
|
- label2 = new System.Windows.Forms.Label();
|
|
|
- label3 = new System.Windows.Forms.Label();
|
|
|
- label4 = new System.Windows.Forms.Label();
|
|
|
- this.tabControl1.SuspendLayout();
|
|
|
- this.tabPage1.SuspendLayout();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.DgvIzd)).BeginInit();
|
|
|
- this.tabPage2.SuspendLayout();
|
|
|
- this.tabPage3.SuspendLayout();
|
|
|
+ this.LblIdIzd = new System.Windows.Forms.Label();
|
|
|
+ this.LblIdZak = new System.Windows.Forms.Label();
|
|
|
+ this.LblCountIzd = new System.Windows.Forms.Label();
|
|
|
+ this.label6 = new System.Windows.Forms.Label();
|
|
|
+ this.label5 = new System.Windows.Forms.Label();
|
|
|
+ this.label4 = new System.Windows.Forms.Label();
|
|
|
+ this.label3 = new System.Windows.Forms.Label();
|
|
|
+ this.label2 = new System.Windows.Forms.Label();
|
|
|
+ this.TbxCountIzd = new System.Windows.Forms.TextBox();
|
|
|
+ this.TbxCountFur = new System.Windows.Forms.TextBox();
|
|
|
+ this.CbxFurn = new System.Windows.Forms.ComboBox();
|
|
|
+ this.CbxCloth = new System.Windows.Forms.ComboBox();
|
|
|
+ this.CbxIzd = new System.Windows.Forms.ComboBox();
|
|
|
+ this.LblCountFur = new System.Windows.Forms.Label();
|
|
|
+ this.LblIdMen = new System.Windows.Forms.Label();
|
|
|
+ this.BsZak = new System.Windows.Forms.BindingSource(this.components);
|
|
|
+ this.factoryLVSDataSet = new FactoryLVS.FactoryLVSDataSet();
|
|
|
+ this.ordersTableAdapter1 = new FactoryLVS.FactoryLVSDataSetTableAdapters.OrdersTableAdapter();
|
|
|
+ this.furnituraTableAdapter1 = new FactoryLVS.FactoryLVSDataSetTableAdapters.FurnituraTableAdapter();
|
|
|
+ this.izdelieTableAdapter1 = new FactoryLVS.FactoryLVSDataSetTableAdapters.IzdelieTableAdapter();
|
|
|
+ this.tkanTableAdapter1 = new FactoryLVS.FactoryLVSDataSetTableAdapters.TkanTableAdapter();
|
|
|
+ this.BsIzd = new System.Windows.Forms.BindingSource(this.components);
|
|
|
+ this.BsFurn = new System.Windows.Forms.BindingSource(this.components);
|
|
|
+ this.BsTkan = new System.Windows.Forms.BindingSource(this.components);
|
|
|
this.panel1.SuspendLayout();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.BsZak)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.factoryLVSDataSet)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.BsIzd)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.BsFurn)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.BsTkan)).BeginInit();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
|
// BtnCancel
|
|
|
//
|
|
|
this.BtnCancel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(156)))), ((int)(((byte)(26)))));
|
|
|
- this.BtnCancel.Location = new System.Drawing.Point(358, 419);
|
|
|
+ this.BtnCancel.Location = new System.Drawing.Point(277, 402);
|
|
|
this.BtnCancel.Margin = new System.Windows.Forms.Padding(2);
|
|
|
this.BtnCancel.Name = "BtnCancel";
|
|
|
this.BtnCancel.Size = new System.Drawing.Size(133, 23);
|
|
@@ -91,287 +83,14 @@
|
|
|
// BtnOK
|
|
|
//
|
|
|
this.BtnOK.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(156)))), ((int)(((byte)(26)))));
|
|
|
- this.BtnOK.Location = new System.Drawing.Point(98, 419);
|
|
|
+ this.BtnOK.Location = new System.Drawing.Point(17, 402);
|
|
|
this.BtnOK.Margin = new System.Windows.Forms.Padding(2);
|
|
|
this.BtnOK.Name = "BtnOK";
|
|
|
this.BtnOK.Size = new System.Drawing.Size(149, 23);
|
|
|
this.BtnOK.TabIndex = 18;
|
|
|
this.BtnOK.Text = "Сформировать заказ";
|
|
|
this.BtnOK.UseVisualStyleBackColor = false;
|
|
|
- //
|
|
|
- // tabControl1
|
|
|
- //
|
|
|
- this.tabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
|
- | System.Windows.Forms.AnchorStyles.Left)
|
|
|
- | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
- this.tabControl1.Controls.Add(this.tabPage1);
|
|
|
- this.tabControl1.Controls.Add(this.tabPage2);
|
|
|
- this.tabControl1.Controls.Add(this.tabPage3);
|
|
|
- this.tabControl1.Location = new System.Drawing.Point(10, 128);
|
|
|
- this.tabControl1.Margin = new System.Windows.Forms.Padding(2);
|
|
|
- this.tabControl1.Name = "tabControl1";
|
|
|
- this.tabControl1.SelectedIndex = 0;
|
|
|
- this.tabControl1.Size = new System.Drawing.Size(572, 280);
|
|
|
- this.tabControl1.TabIndex = 17;
|
|
|
- //
|
|
|
- // tabPage1
|
|
|
- //
|
|
|
- this.tabPage1.Controls.Add(this.label5);
|
|
|
- this.tabPage1.Controls.Add(this.TbxCountIzd);
|
|
|
- this.tabPage1.Controls.Add(this.DgvIzd);
|
|
|
- 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(564, 254);
|
|
|
- this.tabPage1.TabIndex = 0;
|
|
|
- this.tabPage1.Text = "Изделие";
|
|
|
- this.tabPage1.UseVisualStyleBackColor = true;
|
|
|
- //
|
|
|
- // label5
|
|
|
- //
|
|
|
- this.label5.AutoSize = true;
|
|
|
- this.label5.Location = new System.Drawing.Point(5, 188);
|
|
|
- this.label5.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
- this.label5.Name = "label5";
|
|
|
- this.label5.Size = new System.Drawing.Size(190, 13);
|
|
|
- this.label5.TabIndex = 2;
|
|
|
- this.label5.Text = "Введите кол-во изделий для заказа";
|
|
|
- //
|
|
|
- // TbxCountIzd
|
|
|
- //
|
|
|
- this.TbxCountIzd.Location = new System.Drawing.Point(5, 207);
|
|
|
- this.TbxCountIzd.Margin = new System.Windows.Forms.Padding(2);
|
|
|
- this.TbxCountIzd.Name = "TbxCountIzd";
|
|
|
- this.TbxCountIzd.Size = new System.Drawing.Size(76, 20);
|
|
|
- this.TbxCountIzd.TabIndex = 1;
|
|
|
- //
|
|
|
- // DgvIzd
|
|
|
- //
|
|
|
- this.DgvIzd.AllowUserToAddRows = false;
|
|
|
- this.DgvIzd.AllowUserToDeleteRows = false;
|
|
|
- this.DgvIzd.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
- this.DgvIzd.Location = new System.Drawing.Point(4, 5);
|
|
|
- this.DgvIzd.Margin = new System.Windows.Forms.Padding(2);
|
|
|
- this.DgvIzd.Name = "DgvIzd";
|
|
|
- this.DgvIzd.ReadOnly = true;
|
|
|
- this.DgvIzd.RowTemplate.Height = 24;
|
|
|
- this.DgvIzd.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
|
- this.DgvIzd.Size = new System.Drawing.Size(482, 174);
|
|
|
- this.DgvIzd.TabIndex = 0;
|
|
|
- //
|
|
|
- // tabPage2
|
|
|
- //
|
|
|
- this.tabPage2.Controls.Add(descriptionLabel);
|
|
|
- this.tabPage2.Controls.Add(this.DescriptionTextBox);
|
|
|
- this.tabPage2.Controls.Add(lengthLabel);
|
|
|
- this.tabPage2.Controls.Add(this.LengthTextBox);
|
|
|
- this.tabPage2.Controls.Add(widthLabel);
|
|
|
- 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(564, 254);
|
|
|
- this.tabPage2.TabIndex = 1;
|
|
|
- this.tabPage2.Text = "Ткань";
|
|
|
- this.tabPage2.UseVisualStyleBackColor = true;
|
|
|
- //
|
|
|
- // descriptionLabel
|
|
|
- //
|
|
|
- descriptionLabel.AutoSize = true;
|
|
|
- descriptionLabel.Location = new System.Drawing.Point(378, 143);
|
|
|
- descriptionLabel.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
- descriptionLabel.Name = "descriptionLabel";
|
|
|
- descriptionLabel.Size = new System.Drawing.Size(60, 13);
|
|
|
- descriptionLabel.TabIndex = 9;
|
|
|
- descriptionLabel.Text = "Описание:";
|
|
|
- //
|
|
|
- // DescriptionTextBox
|
|
|
- //
|
|
|
- this.DescriptionTextBox.Location = new System.Drawing.Point(441, 141);
|
|
|
- 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 = 10;
|
|
|
- //
|
|
|
- // lengthLabel
|
|
|
- //
|
|
|
- lengthLabel.AutoSize = true;
|
|
|
- lengthLabel.Location = new System.Drawing.Point(395, 113);
|
|
|
- lengthLabel.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
- lengthLabel.Name = "lengthLabel";
|
|
|
- lengthLabel.Size = new System.Drawing.Size(43, 13);
|
|
|
- lengthLabel.TabIndex = 7;
|
|
|
- lengthLabel.Text = "Длина:";
|
|
|
- //
|
|
|
- // LengthTextBox
|
|
|
- //
|
|
|
- this.LengthTextBox.Location = new System.Drawing.Point(441, 110);
|
|
|
- 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 = 8;
|
|
|
- //
|
|
|
- // widthLabel
|
|
|
- //
|
|
|
- widthLabel.AutoSize = true;
|
|
|
- widthLabel.Location = new System.Drawing.Point(389, 84);
|
|
|
- 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 = "Ширина:";
|
|
|
- //
|
|
|
- // WidthTextBox
|
|
|
- //
|
|
|
- this.WidthTextBox.Location = new System.Drawing.Point(441, 81);
|
|
|
- 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 = 6;
|
|
|
- //
|
|
|
- // colorLabel
|
|
|
- //
|
|
|
- colorLabel.AutoSize = true;
|
|
|
- colorLabel.Location = new System.Drawing.Point(403, 52);
|
|
|
- colorLabel.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
- colorLabel.Name = "colorLabel";
|
|
|
- colorLabel.Size = new System.Drawing.Size(35, 13);
|
|
|
- colorLabel.TabIndex = 3;
|
|
|
- colorLabel.Text = "Цвет:";
|
|
|
- //
|
|
|
- // ColorTextBox
|
|
|
- //
|
|
|
- this.ColorTextBox.Location = new System.Drawing.Point(441, 50);
|
|
|
- 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 = 4;
|
|
|
- //
|
|
|
- // nametkanLabel
|
|
|
- //
|
|
|
- nametkanLabel.AutoSize = true;
|
|
|
- nametkanLabel.Location = new System.Drawing.Point(380, 20);
|
|
|
- nametkanLabel.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
- nametkanLabel.Name = "nametkanLabel";
|
|
|
- nametkanLabel.Size = new System.Drawing.Size(60, 13);
|
|
|
- nametkanLabel.TabIndex = 1;
|
|
|
- nametkanLabel.Text = "Название:";
|
|
|
- //
|
|
|
- // NametkanTextBox
|
|
|
- //
|
|
|
- this.NametkanTextBox.Location = new System.Drawing.Point(441, 18);
|
|
|
- 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 = 2;
|
|
|
- //
|
|
|
- // 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, 250);
|
|
|
- this.LVTkani.TabIndex = 0;
|
|
|
- this.LVTkani.UseCompatibleStateImageBehavior = false;
|
|
|
- //
|
|
|
- // tabPage3
|
|
|
- //
|
|
|
- this.tabPage3.Controls.Add(label2);
|
|
|
- this.tabPage3.Controls.Add(this.TbxCountFur);
|
|
|
- this.tabPage3.Controls.Add(label3);
|
|
|
- this.tabPage3.Controls.Add(this.TbxCountFurSklad);
|
|
|
- this.tabPage3.Controls.Add(label4);
|
|
|
- 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(564, 254);
|
|
|
- this.tabPage3.TabIndex = 2;
|
|
|
- this.tabPage3.Text = "Фурнитура";
|
|
|
- this.tabPage3.UseVisualStyleBackColor = true;
|
|
|
- //
|
|
|
- // label2
|
|
|
- //
|
|
|
- label2.AutoSize = true;
|
|
|
- label2.Location = new System.Drawing.Point(348, 110);
|
|
|
- label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
- label2.Name = "label2";
|
|
|
- label2.Size = new System.Drawing.Size(207, 13);
|
|
|
- label2.TabIndex = 11;
|
|
|
- label2.Text = "Укажите кол-во фурнитур для изделия:";
|
|
|
- //
|
|
|
- // TbxCountFur
|
|
|
- //
|
|
|
- this.TbxCountFur.Location = new System.Drawing.Point(442, 126);
|
|
|
- this.TbxCountFur.Margin = new System.Windows.Forms.Padding(2);
|
|
|
- this.TbxCountFur.Name = "TbxCountFur";
|
|
|
- this.TbxCountFur.Size = new System.Drawing.Size(109, 20);
|
|
|
- this.TbxCountFur.TabIndex = 12;
|
|
|
- //
|
|
|
- // label3
|
|
|
- //
|
|
|
- label3.AutoSize = true;
|
|
|
- label3.Location = new System.Drawing.Point(343, 47);
|
|
|
- label3.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
- label3.Name = "label3";
|
|
|
- label3.Size = new System.Drawing.Size(98, 13);
|
|
|
- label3.TabIndex = 9;
|
|
|
- label3.Text = "Кол-во на складе:";
|
|
|
- //
|
|
|
- // TbxCountFurSklad
|
|
|
- //
|
|
|
- this.TbxCountFurSklad.Location = new System.Drawing.Point(442, 47);
|
|
|
- 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 = 10;
|
|
|
- //
|
|
|
- // label4
|
|
|
- //
|
|
|
- label4.AutoSize = true;
|
|
|
- label4.Location = new System.Drawing.Point(381, 18);
|
|
|
- label4.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
- label4.Name = "label4";
|
|
|
- label4.Size = new System.Drawing.Size(60, 13);
|
|
|
- label4.TabIndex = 7;
|
|
|
- label4.Text = "Название:";
|
|
|
- //
|
|
|
- // TbxNameFur
|
|
|
- //
|
|
|
- this.TbxNameFur.Location = new System.Drawing.Point(442, 15);
|
|
|
- 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 = 8;
|
|
|
- //
|
|
|
- // 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, 250);
|
|
|
- this.LVFurnitura.TabIndex = 0;
|
|
|
- this.LVFurnitura.UseCompatibleStateImageBehavior = false;
|
|
|
+ this.BtnOK.Click += new System.EventHandler(this.BtnOK_Click);
|
|
|
//
|
|
|
// panel1
|
|
|
//
|
|
@@ -382,13 +101,13 @@
|
|
|
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(589, 106);
|
|
|
+ this.panel1.Size = new System.Drawing.Size(424, 106);
|
|
|
this.panel1.TabIndex = 16;
|
|
|
//
|
|
|
// label1
|
|
|
//
|
|
|
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
|
- this.label1.Location = new System.Drawing.Point(166, 35);
|
|
|
+ this.label1.Location = new System.Drawing.Point(137, 41);
|
|
|
this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
this.label1.Name = "label1";
|
|
|
this.label1.Size = new System.Drawing.Size(369, 44);
|
|
@@ -409,32 +128,218 @@
|
|
|
this.pictureBox1.TabIndex = 0;
|
|
|
this.pictureBox1.TabStop = false;
|
|
|
//
|
|
|
+ // LblIdIzd
|
|
|
+ //
|
|
|
+ this.LblIdIzd.AutoSize = true;
|
|
|
+ this.LblIdIzd.Location = new System.Drawing.Point(17, 197);
|
|
|
+ this.LblIdIzd.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
+ this.LblIdIzd.Name = "LblIdIzd";
|
|
|
+ this.LblIdIzd.Size = new System.Drawing.Size(30, 13);
|
|
|
+ this.LblIdIzd.TabIndex = 29;
|
|
|
+ this.LblIdIzd.Text = "IdIzd";
|
|
|
+ //
|
|
|
+ // LblIdZak
|
|
|
+ //
|
|
|
+ this.LblIdZak.AutoSize = true;
|
|
|
+ this.LblIdZak.Location = new System.Drawing.Point(17, 173);
|
|
|
+ this.LblIdZak.Name = "LblIdZak";
|
|
|
+ this.LblIdZak.Size = new System.Drawing.Size(49, 13);
|
|
|
+ this.LblIdZak.TabIndex = 42;
|
|
|
+ this.LblIdZak.Text = "LblIdZak";
|
|
|
+ //
|
|
|
+ // LblCountIzd
|
|
|
+ //
|
|
|
+ this.LblCountIzd.AutoSize = true;
|
|
|
+ this.LblCountIzd.Location = new System.Drawing.Point(17, 148);
|
|
|
+ this.LblCountIzd.Name = "LblCountIzd";
|
|
|
+ this.LblCountIzd.Size = new System.Drawing.Size(63, 13);
|
|
|
+ this.LblCountIzd.TabIndex = 41;
|
|
|
+ this.LblCountIzd.Text = "LblCountIzd";
|
|
|
+ //
|
|
|
+ // label6
|
|
|
+ //
|
|
|
+ this.label6.AutoSize = true;
|
|
|
+ this.label6.Location = new System.Drawing.Point(129, 327);
|
|
|
+ this.label6.Name = "label6";
|
|
|
+ this.label6.Size = new System.Drawing.Size(86, 13);
|
|
|
+ this.label6.TabIndex = 40;
|
|
|
+ this.label6.Text = "Кол-во изделий";
|
|
|
+ //
|
|
|
+ // label5
|
|
|
+ //
|
|
|
+ this.label5.AutoSize = true;
|
|
|
+ this.label5.Location = new System.Drawing.Point(129, 279);
|
|
|
+ this.label5.Name = "label5";
|
|
|
+ this.label5.Size = new System.Drawing.Size(102, 13);
|
|
|
+ this.label5.TabIndex = 39;
|
|
|
+ this.label5.Text = "Кол-во фурнитуры:";
|
|
|
+ //
|
|
|
+ // label4
|
|
|
+ //
|
|
|
+ this.label4.AutoSize = true;
|
|
|
+ this.label4.Location = new System.Drawing.Point(129, 226);
|
|
|
+ this.label4.Name = "label4";
|
|
|
+ this.label4.Size = new System.Drawing.Size(66, 13);
|
|
|
+ this.label4.TabIndex = 38;
|
|
|
+ this.label4.Text = "Фурнитура:";
|
|
|
+ //
|
|
|
+ // label3
|
|
|
+ //
|
|
|
+ this.label3.AutoSize = true;
|
|
|
+ this.label3.Location = new System.Drawing.Point(129, 173);
|
|
|
+ this.label3.Name = "label3";
|
|
|
+ this.label3.Size = new System.Drawing.Size(41, 13);
|
|
|
+ this.label3.TabIndex = 37;
|
|
|
+ this.label3.Text = "Ткань:";
|
|
|
+ //
|
|
|
+ // label2
|
|
|
+ //
|
|
|
+ this.label2.AutoSize = true;
|
|
|
+ this.label2.Location = new System.Drawing.Point(129, 121);
|
|
|
+ this.label2.Name = "label2";
|
|
|
+ this.label2.Size = new System.Drawing.Size(54, 13);
|
|
|
+ this.label2.TabIndex = 36;
|
|
|
+ this.label2.Text = "Изделие:";
|
|
|
+ //
|
|
|
+ // TbxCountIzd
|
|
|
+ //
|
|
|
+ this.TbxCountIzd.Location = new System.Drawing.Point(129, 343);
|
|
|
+ this.TbxCountIzd.Name = "TbxCountIzd";
|
|
|
+ this.TbxCountIzd.Size = new System.Drawing.Size(201, 20);
|
|
|
+ this.TbxCountIzd.TabIndex = 35;
|
|
|
+ //
|
|
|
+ // TbxCountFur
|
|
|
+ //
|
|
|
+ this.TbxCountFur.Location = new System.Drawing.Point(129, 295);
|
|
|
+ this.TbxCountFur.Name = "TbxCountFur";
|
|
|
+ this.TbxCountFur.Size = new System.Drawing.Size(201, 20);
|
|
|
+ this.TbxCountFur.TabIndex = 34;
|
|
|
+ //
|
|
|
+ // CbxFurn
|
|
|
+ //
|
|
|
+ this.CbxFurn.DataSource = this.BsFurn;
|
|
|
+ this.CbxFurn.DisplayMember = "namefur";
|
|
|
+ this.CbxFurn.FormattingEnabled = true;
|
|
|
+ this.CbxFurn.Location = new System.Drawing.Point(129, 242);
|
|
|
+ this.CbxFurn.Name = "CbxFurn";
|
|
|
+ this.CbxFurn.Size = new System.Drawing.Size(201, 21);
|
|
|
+ this.CbxFurn.TabIndex = 33;
|
|
|
+ //
|
|
|
+ // CbxCloth
|
|
|
+ //
|
|
|
+ this.CbxCloth.DataSource = this.BsTkan;
|
|
|
+ this.CbxCloth.DisplayMember = "Title";
|
|
|
+ this.CbxCloth.FormattingEnabled = true;
|
|
|
+ this.CbxCloth.Location = new System.Drawing.Point(129, 189);
|
|
|
+ this.CbxCloth.Name = "CbxCloth";
|
|
|
+ this.CbxCloth.Size = new System.Drawing.Size(201, 21);
|
|
|
+ this.CbxCloth.TabIndex = 32;
|
|
|
+ //
|
|
|
+ // CbxIzd
|
|
|
+ //
|
|
|
+ this.CbxIzd.DataSource = this.BsIzd;
|
|
|
+ this.CbxIzd.DisplayMember = "name_izd";
|
|
|
+ this.CbxIzd.FormattingEnabled = true;
|
|
|
+ this.CbxIzd.Location = new System.Drawing.Point(129, 140);
|
|
|
+ this.CbxIzd.Name = "CbxIzd";
|
|
|
+ this.CbxIzd.Size = new System.Drawing.Size(201, 21);
|
|
|
+ this.CbxIzd.TabIndex = 31;
|
|
|
+ this.CbxIzd.ValueMember = "name_izd";
|
|
|
+ //
|
|
|
+ // LblCountFur
|
|
|
+ //
|
|
|
+ this.LblCountFur.AutoSize = true;
|
|
|
+ this.LblCountFur.Location = new System.Drawing.Point(17, 126);
|
|
|
+ this.LblCountFur.Name = "LblCountFur";
|
|
|
+ this.LblCountFur.Size = new System.Drawing.Size(64, 13);
|
|
|
+ this.LblCountFur.TabIndex = 30;
|
|
|
+ this.LblCountFur.Text = "LblCountFur";
|
|
|
+ //
|
|
|
+ // LblIdMen
|
|
|
+ //
|
|
|
+ this.LblIdMen.AutoSize = true;
|
|
|
+ this.LblIdMen.Location = new System.Drawing.Point(17, 226);
|
|
|
+ this.LblIdMen.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
|
+ this.LblIdMen.Name = "LblIdMen";
|
|
|
+ this.LblIdMen.Size = new System.Drawing.Size(30, 13);
|
|
|
+ this.LblIdMen.TabIndex = 43;
|
|
|
+ this.LblIdMen.Text = "IdIzd";
|
|
|
+ //
|
|
|
+ // factoryLVSDataSet
|
|
|
+ //
|
|
|
+ this.factoryLVSDataSet.DataSetName = "FactoryLVSDataSet";
|
|
|
+ this.factoryLVSDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
|
|
+ //
|
|
|
+ // ordersTableAdapter1
|
|
|
+ //
|
|
|
+ this.ordersTableAdapter1.ClearBeforeFill = true;
|
|
|
+ //
|
|
|
+ // furnituraTableAdapter1
|
|
|
+ //
|
|
|
+ this.furnituraTableAdapter1.ClearBeforeFill = true;
|
|
|
+ //
|
|
|
+ // izdelieTableAdapter1
|
|
|
+ //
|
|
|
+ this.izdelieTableAdapter1.ClearBeforeFill = true;
|
|
|
+ //
|
|
|
+ // tkanTableAdapter1
|
|
|
+ //
|
|
|
+ this.tkanTableAdapter1.ClearBeforeFill = true;
|
|
|
+ //
|
|
|
+ // BsIzd
|
|
|
+ //
|
|
|
+ this.BsIzd.DataMember = "Izdelie";
|
|
|
+ this.BsIzd.DataSource = this.factoryLVSDataSet;
|
|
|
+ //
|
|
|
+ // BsFurn
|
|
|
+ //
|
|
|
+ this.BsFurn.DataMember = "Furnitura";
|
|
|
+ this.BsFurn.DataSource = this.factoryLVSDataSet;
|
|
|
+ //
|
|
|
+ // BsTkan
|
|
|
+ //
|
|
|
+ this.BsTkan.DataMember = "Tkan";
|
|
|
+ this.BsTkan.DataSource = this.factoryLVSDataSet;
|
|
|
+ //
|
|
|
// FormAddZakaz
|
|
|
//
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
- this.ClientSize = new System.Drawing.Size(589, 450);
|
|
|
+ this.ClientSize = new System.Drawing.Size(424, 450);
|
|
|
+ this.Controls.Add(this.LblIdMen);
|
|
|
+ this.Controls.Add(this.LblIdIzd);
|
|
|
+ this.Controls.Add(this.LblIdZak);
|
|
|
+ this.Controls.Add(this.LblCountIzd);
|
|
|
+ this.Controls.Add(this.label6);
|
|
|
+ this.Controls.Add(this.label5);
|
|
|
+ this.Controls.Add(this.label4);
|
|
|
+ this.Controls.Add(this.label3);
|
|
|
+ this.Controls.Add(this.label2);
|
|
|
+ this.Controls.Add(this.TbxCountIzd);
|
|
|
+ this.Controls.Add(this.TbxCountFur);
|
|
|
+ this.Controls.Add(this.CbxFurn);
|
|
|
+ this.Controls.Add(this.CbxCloth);
|
|
|
+ this.Controls.Add(this.CbxIzd);
|
|
|
+ this.Controls.Add(this.LblCountFur);
|
|
|
this.Controls.Add(this.BtnCancel);
|
|
|
this.Controls.Add(this.BtnOK);
|
|
|
- this.Controls.Add(this.tabControl1);
|
|
|
this.Controls.Add(this.panel1);
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
|
this.MaximizeBox = false;
|
|
|
- this.MinimumSize = new System.Drawing.Size(605, 489);
|
|
|
+ this.MinimumSize = new System.Drawing.Size(440, 489);
|
|
|
this.Name = "FormAddZakaz";
|
|
|
this.Text = "СУБД \"Швейная фабрика\"";
|
|
|
- this.tabControl1.ResumeLayout(false);
|
|
|
- this.tabPage1.ResumeLayout(false);
|
|
|
- this.tabPage1.PerformLayout();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.DgvIzd)).EndInit();
|
|
|
- this.tabPage2.ResumeLayout(false);
|
|
|
- this.tabPage2.PerformLayout();
|
|
|
- this.tabPage3.ResumeLayout(false);
|
|
|
- this.tabPage3.PerformLayout();
|
|
|
+ this.Load += new System.EventHandler(this.FormAddZakaz_Load);
|
|
|
this.panel1.ResumeLayout(false);
|
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.BsZak)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.factoryLVSDataSet)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.BsIzd)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.BsFurn)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.BsTkan)).EndInit();
|
|
|
this.ResumeLayout(false);
|
|
|
+ this.PerformLayout();
|
|
|
|
|
|
}
|
|
|
|
|
@@ -442,25 +347,32 @@
|
|
|
|
|
|
private System.Windows.Forms.Button BtnCancel;
|
|
|
private System.Windows.Forms.Button BtnOK;
|
|
|
- private System.Windows.Forms.TabControl tabControl1;
|
|
|
- private System.Windows.Forms.TabPage tabPage1;
|
|
|
- private System.Windows.Forms.Label label5;
|
|
|
- private System.Windows.Forms.TextBox TbxCountIzd;
|
|
|
- private System.Windows.Forms.DataGridView DgvIzd;
|
|
|
- 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 TbxCountFur;
|
|
|
- private System.Windows.Forms.TextBox TbxCountFurSklad;
|
|
|
- private System.Windows.Forms.TextBox TbxNameFur;
|
|
|
- private System.Windows.Forms.ListView LVFurnitura;
|
|
|
private System.Windows.Forms.Panel panel1;
|
|
|
private System.Windows.Forms.Label label1;
|
|
|
private System.Windows.Forms.PictureBox pictureBox1;
|
|
|
+ private System.Windows.Forms.Label LblIdIzd;
|
|
|
+ private System.Windows.Forms.Label LblIdZak;
|
|
|
+ private System.Windows.Forms.Label LblCountIzd;
|
|
|
+ private System.Windows.Forms.Label label6;
|
|
|
+ private System.Windows.Forms.Label label5;
|
|
|
+ private System.Windows.Forms.Label label4;
|
|
|
+ private System.Windows.Forms.Label label3;
|
|
|
+ private System.Windows.Forms.Label label2;
|
|
|
+ private System.Windows.Forms.TextBox TbxCountIzd;
|
|
|
+ private System.Windows.Forms.TextBox TbxCountFur;
|
|
|
+ private System.Windows.Forms.ComboBox CbxFurn;
|
|
|
+ private System.Windows.Forms.ComboBox CbxCloth;
|
|
|
+ private System.Windows.Forms.ComboBox CbxIzd;
|
|
|
+ private System.Windows.Forms.Label LblCountFur;
|
|
|
+ private System.Windows.Forms.Label LblIdMen;
|
|
|
+ private System.Windows.Forms.BindingSource BsZak;
|
|
|
+ private FactoryLVSDataSet factoryLVSDataSet;
|
|
|
+ private FactoryLVSDataSetTableAdapters.OrdersTableAdapter ordersTableAdapter1;
|
|
|
+ private FactoryLVSDataSetTableAdapters.FurnituraTableAdapter furnituraTableAdapter1;
|
|
|
+ private FactoryLVSDataSetTableAdapters.IzdelieTableAdapter izdelieTableAdapter1;
|
|
|
+ private FactoryLVSDataSetTableAdapters.TkanTableAdapter tkanTableAdapter1;
|
|
|
+ private System.Windows.Forms.BindingSource BsFurn;
|
|
|
+ private System.Windows.Forms.BindingSource BsTkan;
|
|
|
+ private System.Windows.Forms.BindingSource BsIzd;
|
|
|
}
|
|
|
}
|