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:
2023-01-11 16:06:47 +01:00
parent 780f9a8c28
commit a891033a25
5 changed files with 71 additions and 62 deletions
+18 -5
View File
@@ -44,10 +44,12 @@
this.label1 = new System.Windows.Forms.Label();
this.tmrRefresh = new System.Windows.Forms.Timer(this.components);
this.tmrDraw = new System.Windows.Forms.Timer(this.components);
this.pbxWaitRoom = new System.Windows.Forms.PictureBox();
((System.ComponentModel.ISupportInitialize)(this.pbxRayons)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pbxCaisses)).BeginInit();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pbxWaitRoom)).BeginInit();
this.SuspendLayout();
//
// pbxRayons
@@ -61,9 +63,9 @@
//
// pbxCaisses
//
this.pbxCaisses.Location = new System.Drawing.Point(12, 375);
this.pbxCaisses.Location = new System.Drawing.Point(12, 575);
this.pbxCaisses.Name = "pbxCaisses";
this.pbxCaisses.Size = new System.Drawing.Size(838, 246);
this.pbxCaisses.Size = new System.Drawing.Size(1044, 246);
this.pbxCaisses.TabIndex = 1;
this.pbxCaisses.TabStop = false;
//
@@ -72,7 +74,7 @@
this.groupBox1.Controls.Add(this.btnAddTime);
this.groupBox1.Controls.Add(this.btnAddClients);
this.groupBox1.Controls.Add(this.btnStartStop);
this.groupBox1.Location = new System.Drawing.Point(856, 375);
this.groupBox1.Location = new System.Drawing.Point(856, 12);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(200, 125);
this.groupBox1.TabIndex = 2;
@@ -115,7 +117,7 @@
this.groupBox2.Controls.Add(this.lblAvaiblePlaces);
this.groupBox2.Controls.Add(this.lblClientsWithoutCheckout);
this.groupBox2.Controls.Add(this.label1);
this.groupBox2.Location = new System.Drawing.Point(856, 501);
this.groupBox2.Location = new System.Drawing.Point(856, 138);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(200, 120);
this.groupBox2.TabIndex = 6;
@@ -186,11 +188,20 @@
this.tmrDraw.Interval = 8;
this.tmrDraw.Tick += new System.EventHandler(this.tmrDraw_Tick);
//
// pbxWaitRoom
//
this.pbxWaitRoom.Location = new System.Drawing.Point(12, 375);
this.pbxWaitRoom.Name = "pbxWaitRoom";
this.pbxWaitRoom.Size = new System.Drawing.Size(1044, 194);
this.pbxWaitRoom.TabIndex = 7;
this.pbxWaitRoom.TabStop = false;
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1062, 623);
this.ClientSize = new System.Drawing.Size(1062, 833);
this.Controls.Add(this.pbxWaitRoom);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.pbxCaisses);
@@ -202,6 +213,7 @@
this.groupBox1.ResumeLayout(false);
this.groupBox2.ResumeLayout(false);
this.groupBox2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pbxWaitRoom)).EndInit();
this.ResumeLayout(false);
}
@@ -223,6 +235,7 @@
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Timer tmrRefresh;
private System.Windows.Forms.Timer tmrDraw;
private System.Windows.Forms.PictureBox pbxWaitRoom;
}
}