Started to setup the UI

This commit is contained in:
2023-01-25 12:10:40 +01:00
parent dca1caf427
commit 512fc44e0f
5 changed files with 317 additions and 51 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ namespace Caisses
}
public void Draw(Bitmap checkoutAreaImage,int checkoutNumber, int checkoutId)
{
Size = new Size(checkoutAreaImage.Width / checkoutNumber + 1, checkoutAreaImage.Height - checkoutAreaImage.Height / 20);
Size = new Size(checkoutAreaImage.Width / checkoutNumber + 1, checkoutAreaImage.Height - checkoutAreaImage.Height / 10);
Position = new Point(checkoutId * Size.Width, 0);
int radius = Math.Min(Size.Width, Size.Height / MAX_CAPACITY);
Size clientSize = new Size(radius,radius);