Statistic - UpdateLabel
This commit is contained in:
parent
75efa50256
commit
9894ce831d
|
@ -50,25 +50,12 @@ namespace AIParkingApplication
|
|||
{
|
||||
return;
|
||||
}
|
||||
lblSoLuongXeMay.Invoke(new Action(() =>
|
||||
{
|
||||
lblSoLuongXeMay.Text = parkInfo.NumberOfMoto.ToString();
|
||||
}));
|
||||
lblSoLuongOto.Invoke(new Action(() =>
|
||||
{
|
||||
lblSoLuongOto.Text = parkInfo.NumberOfCar.ToString();
|
||||
}));
|
||||
lblVehicleTotalIn.Invoke(new Action(() =>
|
||||
{
|
||||
lblVehicleTotalIn.Text = parkInfo.TotalIn;
|
||||
}));
|
||||
lblVehicleTotalOut.Invoke(new Action(() =>
|
||||
{
|
||||
lblVehicleTotalOut.Text = parkInfo.TotalOut;
|
||||
}));
|
||||
lblSoLuongXeMay.UpdateLabel(parkInfo.NumberOfMoto.ToString());
|
||||
lblSoLuongOto.UpdateLabel(parkInfo.NumberOfCar.ToString());
|
||||
lblVehicleTotalIn.UpdateLabel(parkInfo.TotalIn);
|
||||
lblVehicleTotalOut.UpdateLabel(parkInfo.TotalOut);
|
||||
}
|
||||
|
||||
|
||||
private void Statistic_Load(object sender, EventArgs e)
|
||||
{
|
||||
tlpStatisticTable.BorderStyle = BorderStyle.FixedSingle;
|
||||
|
|
Loading…
Reference in New Issue
Block a user