Browse Source

Оформил форму заказы и клиенты и сделал переход между формами

Kuzmenco 1 year ago
parent
commit
0f88881719
4 changed files with 57 additions and 57 deletions
  1. BIN
      .vs/Avtoprok/v16/.suo
  2. BIN
      .vs/slnx.sqlite
  3. 54 54
      Order.Designer.cs
  4. 3 3
      Order.resx

BIN
.vs/Avtoprok/v16/.suo


BIN
.vs/slnx.sqlite


+ 54 - 54
Order.Designer.cs

@@ -37,12 +37,15 @@ namespace Avtoprok
             System.Windows.Forms.Label iD_CarLabel;
             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Order));
             this.groupBox4 = new System.Windows.Forms.GroupBox();
+            this.button9 = new System.Windows.Forms.Button();
             this.button8 = new System.Windows.Forms.Button();
             this.button7 = new System.Windows.Forms.Button();
             this.groupBox1 = new System.Windows.Forms.GroupBox();
-            this.orderTimeDayTextBox = new System.Windows.Forms.TextBox();
+            this.iD_CarTextBox = new System.Windows.Forms.TextBox();
             this.order_BindingSource = new System.Windows.Forms.BindingSource(this.components);
             this.avtodrive_02DataSet = new Avtoprok.Avtodrive_02DataSet();
+            this.iD_ClientTextBox = new System.Windows.Forms.TextBox();
+            this.orderTimeDayTextBox = new System.Windows.Forms.TextBox();
             this.date_orderDateTimePicker = new System.Windows.Forms.DateTimePicker();
             this.groupBox3 = new System.Windows.Forms.GroupBox();
             this.button4 = new System.Windows.Forms.Button();
@@ -59,9 +62,6 @@ namespace Avtoprok
             this.iDTextBox = new System.Windows.Forms.TextBox();
             this.carBindingSource = new System.Windows.Forms.BindingSource(this.components);
             this.carTableAdapter = new Avtoprok.Avtodrive_02DataSetTableAdapters.CarTableAdapter();
-            this.iD_ClientTextBox = new System.Windows.Forms.TextBox();
-            this.iD_CarTextBox = new System.Windows.Forms.TextBox();
-            this.button9 = new System.Windows.Forms.Button();
             iDLabel = new System.Windows.Forms.Label();
             date_orderLabel = new System.Windows.Forms.Label();
             orderTimeDayLabel = new System.Windows.Forms.Label();
@@ -103,6 +103,24 @@ namespace Avtoprok
             orderTimeDayLabel.TabIndex = 6;
             orderTimeDayLabel.Text = "Order Time Day:";
             // 
+            // iD_ClientLabel
+            // 
+            iD_ClientLabel.AutoSize = true;
+            iD_ClientLabel.Location = new System.Drawing.Point(50, 40);
+            iD_ClientLabel.Name = "iD_ClientLabel";
+            iD_ClientLabel.Size = new System.Drawing.Size(50, 13);
+            iD_ClientLabel.TabIndex = 7;
+            iD_ClientLabel.Text = "ID Client:";
+            // 
+            // iD_CarLabel
+            // 
+            iD_CarLabel.AutoSize = true;
+            iD_CarLabel.Location = new System.Drawing.Point(60, 67);
+            iD_CarLabel.Name = "iD_CarLabel";
+            iD_CarLabel.Size = new System.Drawing.Size(40, 13);
+            iD_CarLabel.TabIndex = 8;
+            iD_CarLabel.Text = "ID Car:";
+            // 
             // groupBox4
             // 
             this.groupBox4.Controls.Add(this.button9);
@@ -115,6 +133,16 @@ namespace Avtoprok
             this.groupBox4.TabStop = false;
             this.groupBox4.Text = "Related forms";
             // 
+            // button9
+            // 
+            this.button9.Location = new System.Drawing.Point(206, 19);
+            this.button9.Name = "button9";
+            this.button9.Size = new System.Drawing.Size(73, 23);
+            this.button9.TabIndex = 2;
+            this.button9.Text = "Car";
+            this.button9.UseVisualStyleBackColor = true;
+            this.button9.Click += new System.EventHandler(this.button9_Click);
+            // 
             // button8
             // 
             this.button8.Location = new System.Drawing.Point(127, 19);
@@ -152,13 +180,13 @@ namespace Avtoprok
             this.groupBox1.TabStop = false;
             this.groupBox1.Text = "Data entry and editing";
             // 
-            // orderTimeDayTextBox
+            // iD_CarTextBox
             // 
-            this.orderTimeDayTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.order_BindingSource, "OrderTimeDay", true));
-            this.orderTimeDayTextBox.Location = new System.Drawing.Point(106, 116);
-            this.orderTimeDayTextBox.Name = "orderTimeDayTextBox";
-            this.orderTimeDayTextBox.Size = new System.Drawing.Size(60, 20);
-            this.orderTimeDayTextBox.TabIndex = 7;
+            this.iD_CarTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.order_BindingSource, "ID_Car", true));
+            this.iD_CarTextBox.Location = new System.Drawing.Point(106, 64);
+            this.iD_CarTextBox.Name = "iD_CarTextBox";
+            this.iD_CarTextBox.Size = new System.Drawing.Size(100, 20);
+            this.iD_CarTextBox.TabIndex = 9;
             // 
             // order_BindingSource
             // 
@@ -170,6 +198,22 @@ namespace Avtoprok
             this.avtodrive_02DataSet.DataSetName = "Avtodrive_02DataSet";
             this.avtodrive_02DataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
             // 
+            // iD_ClientTextBox
+            // 
+            this.iD_ClientTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.order_BindingSource, "ID_Client", true));
+            this.iD_ClientTextBox.Location = new System.Drawing.Point(106, 37);
+            this.iD_ClientTextBox.Name = "iD_ClientTextBox";
+            this.iD_ClientTextBox.Size = new System.Drawing.Size(100, 20);
+            this.iD_ClientTextBox.TabIndex = 8;
+            // 
+            // orderTimeDayTextBox
+            // 
+            this.orderTimeDayTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.order_BindingSource, "OrderTimeDay", true));
+            this.orderTimeDayTextBox.Location = new System.Drawing.Point(106, 116);
+            this.orderTimeDayTextBox.Name = "orderTimeDayTextBox";
+            this.orderTimeDayTextBox.Size = new System.Drawing.Size(60, 20);
+            this.orderTimeDayTextBox.TabIndex = 7;
+            // 
             // date_orderDateTimePicker
             // 
             this.date_orderDateTimePicker.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.order_BindingSource, "Date_order", true));
@@ -294,50 +338,6 @@ namespace Avtoprok
             // 
             this.carTableAdapter.ClearBeforeFill = true;
             // 
-            // iD_ClientLabel
-            // 
-            iD_ClientLabel.AutoSize = true;
-            iD_ClientLabel.Location = new System.Drawing.Point(50, 40);
-            iD_ClientLabel.Name = "iD_ClientLabel";
-            iD_ClientLabel.Size = new System.Drawing.Size(50, 13);
-            iD_ClientLabel.TabIndex = 7;
-            iD_ClientLabel.Text = "ID Client:";
-            // 
-            // iD_ClientTextBox
-            // 
-            this.iD_ClientTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.order_BindingSource, "ID_Client", true));
-            this.iD_ClientTextBox.Location = new System.Drawing.Point(106, 37);
-            this.iD_ClientTextBox.Name = "iD_ClientTextBox";
-            this.iD_ClientTextBox.Size = new System.Drawing.Size(100, 20);
-            this.iD_ClientTextBox.TabIndex = 8;
-            // 
-            // iD_CarLabel
-            // 
-            iD_CarLabel.AutoSize = true;
-            iD_CarLabel.Location = new System.Drawing.Point(60, 67);
-            iD_CarLabel.Name = "iD_CarLabel";
-            iD_CarLabel.Size = new System.Drawing.Size(40, 13);
-            iD_CarLabel.TabIndex = 8;
-            iD_CarLabel.Text = "ID Car:";
-            // 
-            // iD_CarTextBox
-            // 
-            this.iD_CarTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.order_BindingSource, "ID_Car", true));
-            this.iD_CarTextBox.Location = new System.Drawing.Point(106, 64);
-            this.iD_CarTextBox.Name = "iD_CarTextBox";
-            this.iD_CarTextBox.Size = new System.Drawing.Size(100, 20);
-            this.iD_CarTextBox.TabIndex = 9;
-            // 
-            // button9
-            // 
-            this.button9.Location = new System.Drawing.Point(206, 19);
-            this.button9.Name = "button9";
-            this.button9.Size = new System.Drawing.Size(73, 23);
-            this.button9.TabIndex = 2;
-            this.button9.Text = "Car";
-            this.button9.UseVisualStyleBackColor = true;
-            this.button9.Click += new System.EventHandler(this.button9_Click);
-            // 
             // Order
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);

+ 3 - 3
Order.resx

@@ -126,6 +126,9 @@
   <metadata name="orderTimeDayLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>False</value>
   </metadata>
+  <metadata name="iD_ClientLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </metadata>
   <metadata name="iD_CarLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>False</value>
   </metadata>
@@ -135,9 +138,6 @@
   <metadata name="avtodrive_02DataSet.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
     <value>17, 17</value>
   </metadata>
-  <metadata name="iD_ClientLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
-    <value>False</value>
-  </metadata>
   <metadata name="clientBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
     <value>675, 17</value>
   </metadata>