Update UI.
This commit is contained in:
parent
3af336a184
commit
bf9a89f8c5
|
@ -34,8 +34,8 @@
|
|||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1350, 729);
|
||||
this.MinimumSize = new System.Drawing.Size(1366, 768);
|
||||
this.ClientSize = new System.Drawing.Size(1358, 737);
|
||||
this.MinimumSize = new System.Drawing.Size(1374, 776);
|
||||
this.Name = "AIParkingApplicationForm";
|
||||
this.Text = "AIParking Application";
|
||||
this.ResumeLayout(false);
|
||||
|
|
|
@ -25,15 +25,17 @@ namespace AIParkingApplication
|
|||
|
||||
c3Device = new C3DeviceController("192.168.1.200");
|
||||
laneIn = new LaneIn(1, @"C:\HS_test.mp4", @"C:\HS_test.mp4", c3Device, apiController, true, false, true);
|
||||
laneIn.BorderStyle = BorderStyle.FixedSingle;
|
||||
laneIn.Location = new System.Drawing.Point(sidebar.Location.X + sidebar.Width + 20, 0);
|
||||
Controls.Add(laneIn);
|
||||
|
||||
laneOut = new LaneOut(2, @"C:\HS_test.mp4", @"C:\HS_test.mp4", c3Device, apiController, true, false, true);
|
||||
laneOut.BorderStyle = BorderStyle.FixedSingle;
|
||||
laneOut.Location = new System.Drawing.Point(laneIn.Location.X + laneIn.Width + 20, 0);
|
||||
Controls.Add(laneOut);
|
||||
|
||||
statusBar = new StatusBar("192.168.1.122", "192.168.1.200", TimeSpan.FromSeconds(1));
|
||||
statusBar.Location = new System.Drawing.Point(0, 700);
|
||||
statusBar.Location = new System.Drawing.Point(0, sidebar.Location.Y + sidebar.Height + 20);
|
||||
statusBar.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
||||
Controls.Add(statusBar);
|
||||
|
||||
|
|
2
AIParkingApplication/StatusBar.Designer.cs
generated
2
AIParkingApplication/StatusBar.Designer.cs
generated
|
@ -52,7 +52,7 @@
|
|||
//
|
||||
this.lblDateTime.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.lblDateTime.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lblDateTime.Location = new System.Drawing.Point(1207, 0);
|
||||
this.lblDateTime.Location = new System.Drawing.Point(1210, 0);
|
||||
this.lblDateTime.Name = "lblDateTime";
|
||||
this.lblDateTime.Size = new System.Drawing.Size(140, 24);
|
||||
this.lblDateTime.TabIndex = 2;
|
||||
|
|
Loading…
Reference in New Issue
Block a user