From b46d79e1015c9235e43f7a45e0e78c1a9e16dd38 Mon Sep 17 00:00:00 2001 From: DucDangAnh Date: Thu, 9 Jul 2020 14:45:03 +0700 Subject: [PATCH] AIParkingApplicationForm, StatusBar - Fix UI --- AIParkingApplication/AIParkingApplicationForm.cs | 2 +- AIParkingApplication/StatusBar.Designer.cs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/AIParkingApplication/AIParkingApplicationForm.cs b/AIParkingApplication/AIParkingApplicationForm.cs index 69e69a4..345add0 100644 --- a/AIParkingApplication/AIParkingApplicationForm.cs +++ b/AIParkingApplication/AIParkingApplicationForm.cs @@ -40,7 +40,7 @@ namespace AIParkingApplication } statusBar = new StatusBar("192.168.1.122", "192.168.1.200", TimeSpan.FromSeconds(1)); - statusBar.Location = new Point(0, sidebar.Location.Y + sidebar.Height + 25); + statusBar.Location = new Point(0, sidebar.Location.Y + sidebar.Height + 26); statusBar.Anchor = AnchorStyles.Bottom | AnchorStyles.Left; Controls.Add(statusBar); diff --git a/AIParkingApplication/StatusBar.Designer.cs b/AIParkingApplication/StatusBar.Designer.cs index 1305c2d..d19dea7 100644 --- a/AIParkingApplication/StatusBar.Designer.cs +++ b/AIParkingApplication/StatusBar.Designer.cs @@ -72,7 +72,7 @@ // lblPingTimeToDoorAccessControl // this.lblPingTimeToDoorAccessControl.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblPingTimeToDoorAccessControl.Location = new System.Drawing.Point(437, 0); + this.lblPingTimeToDoorAccessControl.Location = new System.Drawing.Point(440, 0); this.lblPingTimeToDoorAccessControl.Name = "lblPingTimeToDoorAccessControl"; this.lblPingTimeToDoorAccessControl.Size = new System.Drawing.Size(71, 18); this.lblPingTimeToDoorAccessControl.TabIndex = 3; @@ -96,13 +96,13 @@ this.lblServer.Name = "lblServer"; this.lblServer.Size = new System.Drawing.Size(63, 18); this.lblServer.TabIndex = 1; - this.lblServer.Text = "Server"; + this.lblServer.Text = "Server:"; this.lblServer.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // lblEngine // this.lblEngine.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblEngine.Location = new System.Drawing.Point(570, 0); + this.lblEngine.Location = new System.Drawing.Point(583, 0); this.lblEngine.Name = "lblEngine"; this.lblEngine.Size = new System.Drawing.Size(65, 18); this.lblEngine.TabIndex = 3; @@ -112,7 +112,7 @@ // lblEngineStatus // this.lblEngineStatus.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblEngineStatus.Location = new System.Drawing.Point(641, 0); + this.lblEngineStatus.Location = new System.Drawing.Point(654, 0); this.lblEngineStatus.Name = "lblEngineStatus"; this.lblEngineStatus.Size = new System.Drawing.Size(169, 18); this.lblEngineStatus.TabIndex = 3;