Added a waiting room and now the checkouts also take the number of people waiting in count for when to open
This commit is contained in:
+6
-1
@@ -17,7 +17,7 @@ namespace Caisses
|
||||
{
|
||||
InitializeComponent();
|
||||
DoubleBuffered = true;
|
||||
store = new GraphicalStore(20,12,pbxRayons.Size,pbxCaisses.Size);
|
||||
store = new GraphicalStore(10,12,pbxRayons.Size,pbxCaisses.Size,pbxWaitRoom.Size);
|
||||
}
|
||||
|
||||
private void btnStartStop_Click(object sender, EventArgs e)
|
||||
@@ -53,8 +53,13 @@ namespace Caisses
|
||||
{
|
||||
pbxCaisses.Image.Dispose();
|
||||
}
|
||||
if (pbxWaitRoom.Image != null)
|
||||
{
|
||||
pbxWaitRoom.Image.Dispose();
|
||||
}
|
||||
pbxRayons.Image = result[0];
|
||||
pbxCaisses.Image = result[1];
|
||||
pbxWaitRoom.Image = result[2];
|
||||
|
||||
lblClients.Text = "Clients : " + store.Clients.Count();
|
||||
lblClientsWithoutCheckout.Text = "Clients without checkout : "+ store.WaitingClients.Count();
|
||||
|
||||
Reference in New Issue
Block a user