From a0199cc0f8475a9bded8deafb65ddb0acf395263 Mon Sep 17 00:00:00 2001 From: DucDangAnh Date: Fri, 19 Jun 2020 17:07:03 +0700 Subject: [PATCH] LaneIn - lblLaneLabel, lblRecogizePlateStatus: Set AutoSize to False. Fixed Layout Size --- AIParkingApplication/LaneIn.Designer.cs | 17 ++++++----------- AIParkingApplication/LaneIn.resx | 9 --------- 2 files changed, 6 insertions(+), 20 deletions(-) diff --git a/AIParkingApplication/LaneIn.Designer.cs b/AIParkingApplication/LaneIn.Designer.cs index 57d3555..b7edf6d 100644 --- a/AIParkingApplication/LaneIn.Designer.cs +++ b/AIParkingApplication/LaneIn.Designer.cs @@ -77,7 +77,7 @@ this.grbPlateCamera.Location = new System.Drawing.Point(1, 208); this.grbPlateCamera.Margin = new System.Windows.Forms.Padding(0); this.grbPlateCamera.Name = "grbPlateCamera"; - this.grbPlateCamera.Size = new System.Drawing.Size(441, 237); + this.grbPlateCamera.Size = new System.Drawing.Size(440, 238); this.grbPlateCamera.TabIndex = 12; this.grbPlateCamera.TabStop = false; this.grbPlateCamera.Text = "Camera biển số"; @@ -108,22 +108,20 @@ this.grbOverviewCamera.Location = new System.Drawing.Point(1, 454); this.grbOverviewCamera.Margin = new System.Windows.Forms.Padding(0); this.grbOverviewCamera.Name = "grbOverviewCamera"; - this.grbOverviewCamera.Size = new System.Drawing.Size(441, 238); + this.grbOverviewCamera.Size = new System.Drawing.Size(440, 238); this.grbOverviewCamera.TabIndex = 11; this.grbOverviewCamera.TabStop = false; this.grbOverviewCamera.Text = "Camera toàn cảnh"; // // lblLaneLabel // - this.lblLaneLabel.AutoSize = true; this.lblLaneLabel.BackColor = System.Drawing.Color.Red; this.lblLaneLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblLaneLabel.ForeColor = System.Drawing.SystemColors.Control; this.lblLaneLabel.Location = new System.Drawing.Point(1, 1); this.lblLaneLabel.Margin = new System.Windows.Forms.Padding(0); this.lblLaneLabel.Name = "lblLaneLabel"; - this.lblLaneLabel.Padding = new System.Windows.Forms.Padding(138, 5, 137, 5); - this.lblLaneLabel.Size = new System.Drawing.Size(441, 49); + this.lblLaneLabel.Size = new System.Drawing.Size(440, 50); this.lblLaneLabel.TabIndex = 10; this.lblLaneLabel.Text = "LÀN VÀO"; this.lblLaneLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -157,7 +155,7 @@ this.grbCardInformation.Location = new System.Drawing.Point(1, 55); this.grbCardInformation.Margin = new System.Windows.Forms.Padding(0); this.grbCardInformation.Name = "grbCardInformation"; - this.grbCardInformation.Size = new System.Drawing.Size(441, 104); + this.grbCardInformation.Size = new System.Drawing.Size(440, 104); this.grbCardInformation.TabIndex = 13; this.grbCardInformation.TabStop = false; this.grbCardInformation.Text = "Thông tin thẻ"; @@ -192,15 +190,13 @@ // // lblRecogizePlateStatus // - this.lblRecogizePlateStatus.AutoSize = true; this.lblRecogizePlateStatus.BackColor = System.Drawing.Color.Green; this.lblRecogizePlateStatus.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblRecogizePlateStatus.ForeColor = System.Drawing.SystemColors.Control; this.lblRecogizePlateStatus.Location = new System.Drawing.Point(1, 159); this.lblRecogizePlateStatus.Margin = new System.Windows.Forms.Padding(0); this.lblRecogizePlateStatus.Name = "lblRecogizePlateStatus"; - this.lblRecogizePlateStatus.Padding = new System.Windows.Forms.Padding(12, 6, 12, 6); - this.lblRecogizePlateStatus.Size = new System.Drawing.Size(441, 41); + this.lblRecogizePlateStatus.Size = new System.Drawing.Size(440, 40); this.lblRecogizePlateStatus.TabIndex = 15; this.lblRecogizePlateStatus.Text = "KHÔNG NHẬN DIỆN ĐƯỢC BIỂN SỐ"; this.lblRecogizePlateStatus.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -216,7 +212,7 @@ this.Controls.Add(this.grbCardInformation); this.Margin = new System.Windows.Forms.Padding(0); this.Name = "LaneIn"; - this.Size = new System.Drawing.Size(443, 692); + this.Size = new System.Drawing.Size(442, 692); ((System.ComponentModel.ISupportInitialize)(this.pictureBoxPlateImage)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBoxPlateVideo)).EndInit(); this.grbPlateCamera.ResumeLayout(false); @@ -226,7 +222,6 @@ this.grbCardInformation.ResumeLayout(false); this.grbCardInformation.PerformLayout(); this.ResumeLayout(false); - this.PerformLayout(); } diff --git a/AIParkingApplication/LaneIn.resx b/AIParkingApplication/LaneIn.resx index b7b59c0..94c7a06 100644 --- a/AIParkingApplication/LaneIn.resx +++ b/AIParkingApplication/LaneIn.resx @@ -156,15 +156,6 @@ True - - True - - - True - - - True - True