LaneIn - ShowCardInfoOnUI: Update lblRecogizePlateStatus.BackColor

This commit is contained in:
DucDangAnh 2020-06-19 17:18:12 +07:00
parent 908bd883fe
commit 8a8e8c8481

View File

@ -130,6 +130,7 @@ namespace AIParkingApplication
lblRecogizePlateStatus.Invoke(new Action(() =>
{
lblRecogizePlateStatus.Text = string.IsNullOrEmpty(plateString) ? "KHÔNG NHẬN DIỆN ĐƯỢC BIỂN SỐ" : $"MỜI XE {plateString} VÀO";
lblRecogizePlateStatus.BackColor = string.IsNullOrEmpty(plateString) ? System.Drawing.Color.Red : System.Drawing.Color.Green;
}));
}