AIParkingApplicationForm, Statistic - Fix UI
This commit is contained in:
parent
ede593da17
commit
2a2c1439b3
|
@ -34,7 +34,7 @@
|
|||
//
|
||||
// btnStopLaneIn
|
||||
//
|
||||
this.btnStopLaneIn.Location = new System.Drawing.Point(1221, 88);
|
||||
this.btnStopLaneIn.Location = new System.Drawing.Point(1205, 408);
|
||||
this.btnStopLaneIn.Name = "btnStopLaneIn";
|
||||
this.btnStopLaneIn.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnStopLaneIn.TabIndex = 0;
|
||||
|
@ -44,7 +44,7 @@
|
|||
//
|
||||
// btnStartLaneIn
|
||||
//
|
||||
this.btnStartLaneIn.Location = new System.Drawing.Point(1221, 129);
|
||||
this.btnStartLaneIn.Location = new System.Drawing.Point(1205, 449);
|
||||
this.btnStartLaneIn.Name = "btnStartLaneIn";
|
||||
this.btnStartLaneIn.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnStartLaneIn.TabIndex = 0;
|
||||
|
|
|
@ -29,10 +29,13 @@ namespace AIParkingApplication
|
|||
|
||||
statusBar = new StatusBar("192.168.1.122", "192.168.1.200", TimeSpan.FromSeconds(1));
|
||||
statusBar.Location = new System.Drawing.Point(0, 692);
|
||||
statusBar.Anchor = (AnchorStyles.Bottom | AnchorStyles.Left);
|
||||
statusBar.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
||||
Controls.Add(statusBar);
|
||||
|
||||
statistic = new Statistic(apiController, TimeSpan.FromMinutes(10));
|
||||
statistic.Location = new System.Drawing.Point(laneIn.Width + laneOut.Width + 10, 0);
|
||||
statistic.Anchor = AnchorStyles.Top | AnchorStyles.Left;
|
||||
Controls.Add(statistic);
|
||||
StartLanes();
|
||||
}
|
||||
|
||||
|
|
16
AIParkingApplication/Statistic.Designer.cs
generated
16
AIParkingApplication/Statistic.Designer.cs
generated
|
@ -55,7 +55,7 @@
|
|||
this.grbVehicleStatistics.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.grbVehicleStatistics.Location = new System.Drawing.Point(1, 1);
|
||||
this.grbVehicleStatistics.Name = "grbVehicleStatistics";
|
||||
this.grbVehicleStatistics.Size = new System.Drawing.Size(226, 178);
|
||||
this.grbVehicleStatistics.Size = new System.Drawing.Size(191, 178);
|
||||
this.grbVehicleStatistics.TabIndex = 0;
|
||||
this.grbVehicleStatistics.TabStop = false;
|
||||
this.grbVehicleStatistics.Text = "Thống kê xe";
|
||||
|
@ -63,7 +63,7 @@
|
|||
// label4
|
||||
//
|
||||
this.label4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.label4.Location = new System.Drawing.Point(137, 125);
|
||||
this.label4.Location = new System.Drawing.Point(112, 125);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(60, 20);
|
||||
this.label4.TabIndex = 2;
|
||||
|
@ -73,7 +73,7 @@
|
|||
// label3
|
||||
//
|
||||
this.label3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.label3.Location = new System.Drawing.Point(30, 125);
|
||||
this.label3.Location = new System.Drawing.Point(21, 125);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(60, 20);
|
||||
this.label3.TabIndex = 2;
|
||||
|
@ -84,7 +84,7 @@
|
|||
//
|
||||
this.lblVehicleTotalOut.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.lblVehicleTotalOut.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lblVehicleTotalOut.Location = new System.Drawing.Point(137, 153);
|
||||
this.lblVehicleTotalOut.Location = new System.Drawing.Point(112, 153);
|
||||
this.lblVehicleTotalOut.Name = "lblVehicleTotalOut";
|
||||
this.lblVehicleTotalOut.Size = new System.Drawing.Size(60, 20);
|
||||
this.lblVehicleTotalOut.TabIndex = 1;
|
||||
|
@ -95,7 +95,7 @@
|
|||
//
|
||||
this.lblVehicleTotalIn.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.lblVehicleTotalIn.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lblVehicleTotalIn.Location = new System.Drawing.Point(30, 153);
|
||||
this.lblVehicleTotalIn.Location = new System.Drawing.Point(21, 153);
|
||||
this.lblVehicleTotalIn.Name = "lblVehicleTotalIn";
|
||||
this.lblVehicleTotalIn.Size = new System.Drawing.Size(60, 20);
|
||||
this.lblVehicleTotalIn.TabIndex = 1;
|
||||
|
@ -115,7 +115,7 @@
|
|||
this.tlpStatisticTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
|
||||
this.tlpStatisticTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
|
||||
this.tlpStatisticTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
|
||||
this.tlpStatisticTable.Size = new System.Drawing.Size(215, 100);
|
||||
this.tlpStatisticTable.Size = new System.Drawing.Size(180, 100);
|
||||
this.tlpStatisticTable.TabIndex = 0;
|
||||
//
|
||||
// grbLoginInfo
|
||||
|
@ -129,7 +129,7 @@
|
|||
this.grbLoginInfo.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.grbLoginInfo.Location = new System.Drawing.Point(1, 198);
|
||||
this.grbLoginInfo.Name = "grbLoginInfo";
|
||||
this.grbLoginInfo.Size = new System.Drawing.Size(226, 93);
|
||||
this.grbLoginInfo.Size = new System.Drawing.Size(191, 93);
|
||||
this.grbLoginInfo.TabIndex = 1;
|
||||
this.grbLoginInfo.TabStop = false;
|
||||
this.grbLoginInfo.Text = "Thông tin tài khoản";
|
||||
|
@ -181,7 +181,7 @@
|
|||
this.Controls.Add(this.grbLoginInfo);
|
||||
this.Controls.Add(this.grbVehicleStatistics);
|
||||
this.Name = "Statistic";
|
||||
this.Size = new System.Drawing.Size(228, 292);
|
||||
this.Size = new System.Drawing.Size(193, 292);
|
||||
this.Load += new System.EventHandler(this.Statistic_Load);
|
||||
this.grbVehicleStatistics.ResumeLayout(false);
|
||||
this.grbLoginInfo.ResumeLayout(false);
|
||||
|
|
|
@ -68,6 +68,13 @@ namespace AIParkingApplication
|
|||
lblSoLuongXeMay = new Label() { Text = "0", Font = labelFont };
|
||||
lblSoLuongOto = new Label() { Text = "0", Font = labelFont };
|
||||
|
||||
lblLoaiXe.Anchor = AnchorStyles.None;
|
||||
lblXeMay.Anchor = AnchorStyles.None;
|
||||
lblOto.Anchor = AnchorStyles.None;
|
||||
lblSoLuong.Anchor = AnchorStyles.None;
|
||||
lblSoLuongXeMay.Anchor = AnchorStyles.None;
|
||||
lblSoLuongOto.Anchor = AnchorStyles.None;
|
||||
|
||||
tlpStatisticTable.Controls.Add(lblLoaiXe, 0, 0);
|
||||
tlpStatisticTable.Controls.Add(lblXeMay, 0, 1);
|
||||
tlpStatisticTable.Controls.Add(lblOto, 0, 2);
|
||||
|
|
Loading…
Reference in New Issue
Block a user