Browse Source

Enter a commit message <Required>

Анастасия Азизова 4 years ago
parent
commit
3915e9ac64
4 changed files with 32 additions and 0 deletions
  1. 1 0
      Form1.Designer.cs
  2. 5 0
      Form1.cs
  3. 23 0
      Form2.Designer.cs
  4. 3 0
      Form2.resx

+ 1 - 0
Form1.Designer.cs

@@ -129,6 +129,7 @@
             this.Controls.Add(this.label1);
             this.Name = "FPostavka";
             this.Text = "Поставка товаров";
+            this.Load += new System.EventHandler(this.FPostavka_Load);
             this.ResumeLayout(false);
             this.PerformLayout();
 

+ 5 - 0
Form1.cs

@@ -58,5 +58,10 @@ namespace WindowsFormsApp1Индивидуально
             f.Show();
             this.Hide();
         }
+
+        private void FPostavka_Load(object sender, EventArgs e)
+        {
+
+        }
     }
 }

+ 23 - 0
Form2.Designer.cs

@@ -30,6 +30,7 @@
         {
             this.components = new System.ComponentModel.Container();
             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FDogovorZakaza));
+            System.Windows.Forms.Label кодДоговораLabel;
             this.label2 = new System.Windows.Forms.Label();
             this.postavkaTovarovDataSet = new WindowsFormsApp1Индивидуально.PostavkaTovarovDataSet();
             this.договорЗаказаBindingSource = new System.Windows.Forms.BindingSource(this.components);
@@ -52,6 +53,8 @@
             this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.button1 = new System.Windows.Forms.Button();
+            this.кодДоговораTextBox = new System.Windows.Forms.TextBox();
+            кодДоговораLabel = new System.Windows.Forms.Label();
             ((System.ComponentModel.ISupportInitialize)(this.postavkaTovarovDataSet)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.договорЗаказаBindingSource)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.договорЗаказаBindingNavigator)).BeginInit();
@@ -263,12 +266,31 @@
             this.button1.UseVisualStyleBackColor = false;
             this.button1.Click += new System.EventHandler(this.button1_Click);
             // 
+            // кодДоговораLabel
+            // 
+            кодДоговораLabel.AutoSize = true;
+            кодДоговораLabel.Location = new System.Drawing.Point(90, 351);
+            кодДоговораLabel.Name = "кодДоговораLabel";
+            кодДоговораLabel.Size = new System.Drawing.Size(104, 17);
+            кодДоговораLabel.TabIndex = 4;
+            кодДоговораLabel.Text = "Код Договора:";
+            // 
+            // кодДоговораTextBox
+            // 
+            this.кодДоговораTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.договорЗаказаBindingSource, "КодДоговора", true));
+            this.кодДоговораTextBox.Location = new System.Drawing.Point(200, 348);
+            this.кодДоговораTextBox.Name = "кодДоговораTextBox";
+            this.кодДоговораTextBox.Size = new System.Drawing.Size(100, 22);
+            this.кодДоговораTextBox.TabIndex = 5;
+            // 
             // FDogovorZakaza
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
             this.BackColor = System.Drawing.Color.MistyRose;
             this.ClientSize = new System.Drawing.Size(865, 585);
+            this.Controls.Add(кодДоговораLabel);
+            this.Controls.Add(this.кодДоговораTextBox);
             this.Controls.Add(this.button1);
             this.Controls.Add(this.договорЗаказаDataGridView);
             this.Controls.Add(this.договорЗаказаBindingNavigator);
@@ -311,5 +333,6 @@
         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
         private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
         private System.Windows.Forms.Button button1;
+        private System.Windows.Forms.TextBox кодДоговораTextBox;
     }
 }

+ 3 - 0
Form2.resx

@@ -204,4 +204,7 @@
         dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
 </value>
   </data>
+  <metadata name="кодДоговораLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </metadata>
 </root>