From 0eefa56149d36740b2d8ea2b515120fc7b0adee1 Mon Sep 17 00:00:00 2001 From: DucDangAnh Date: Wed, 1 Jul 2020 11:22:04 +0700 Subject: [PATCH] LaneOut - Update Timein, timeOut Text --- AIParkingApplication/LaneOut.Designer.cs | 8 ++++---- AIParkingApplication/LaneOut.cs | 4 ++-- AIParkingApplication/LaneOut.resx | 6 ++++++ 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/AIParkingApplication/LaneOut.Designer.cs b/AIParkingApplication/LaneOut.Designer.cs index 823f5ef..202a813 100644 --- a/AIParkingApplication/LaneOut.Designer.cs +++ b/AIParkingApplication/LaneOut.Designer.cs @@ -121,9 +121,9 @@ this.lblCardTime.AutoSize = true; this.lblCardTime.Location = new System.Drawing.Point(223, 64); this.lblCardTime.Name = "lblCardTime"; - this.lblCardTime.Size = new System.Drawing.Size(96, 18); + this.lblCardTime.Size = new System.Drawing.Size(34, 18); this.lblCardTime.TabIndex = 0; - this.lblCardTime.Text = "Thời gian vào"; + this.lblCardTime.Text = "Vào"; // // lblMoneyAmount // @@ -245,9 +245,9 @@ this.lblCardTimeOut.AutoSize = true; this.lblCardTimeOut.Location = new System.Drawing.Point(462, 64); this.lblCardTimeOut.Name = "lblCardTimeOut"; - this.lblCardTimeOut.Size = new System.Drawing.Size(85, 18); + this.lblCardTimeOut.Size = new System.Drawing.Size(27, 18); this.lblCardTimeOut.TabIndex = 0; - this.lblCardTimeOut.Text = "Thời gian ra"; + this.lblCardTimeOut.Text = "Ra"; // // LaneOut // diff --git a/AIParkingApplication/LaneOut.cs b/AIParkingApplication/LaneOut.cs index 0b540b4..c16ffd2 100644 --- a/AIParkingApplication/LaneOut.cs +++ b/AIParkingApplication/LaneOut.cs @@ -185,8 +185,8 @@ namespace AIParkingApplication lblCardNumber.UpdateLabel($"Số thẻ: {cardNumber}"); lblPlateString.UpdateLabel($"Biển số: {plateString}"); lblCardType.UpdateLabel($"Loại thẻ: {cardType}"); - lblCardTime.UpdateLabel($"Thời gian vào: {cardTimeIn}"); - lblCardTimeOut.UpdateLabel($"Thời gian ra: {cardTimeOut}"); + lblCardTime.UpdateLabel($"Vào: {cardTimeIn}"); + lblCardTimeOut.UpdateLabel($"Ra: {cardTimeOut}"); int.TryParse(money, out int moneyAmount); lblMoneyAmount.UpdateLabel($"Số tiền: {string.Format("{0:n0}", moneyAmount)} vnđ"); diff --git a/AIParkingApplication/LaneOut.resx b/AIParkingApplication/LaneOut.resx index db4e197..7a9eb8c 100644 --- a/AIParkingApplication/LaneOut.resx +++ b/AIParkingApplication/LaneOut.resx @@ -126,6 +126,12 @@ True + + True + + + True + True