update 20260412

This commit is contained in:
Stefan Hutter
2026-04-12 08:32:01 +02:00
parent 7a28e0c2bb
commit a110be5021
82 changed files with 2405 additions and 190 deletions

View File

@@ -1462,10 +1462,18 @@ namespace OnDoc.UICintrols
{
e.Graphics.DrawImage(OnDoc.Properties.Resources.one_24x24_32, e.Bounds.X + 20, e.Bounds.Y);
}
if (Convert.ToInt32(dataRow["vs"]) == 2)
if (Convert.ToInt32(dataRow["vs"]) == 3)
{
e.Graphics.DrawImage(OnDoc.Properties.Resources.two_24x24_32, e.Bounds.X + 20, e.Bounds.Y);
}
if (Convert.ToInt32(dataRow["vs"]) == 2)
{
e.Graphics.DrawImage(OnDoc.Properties.Resources.one_blue_24x24_32, e.Bounds.X + 20, e.Bounds.Y);
}
if (Convert.ToInt32(dataRow["vs"]) == 4)
{
e.Graphics.DrawImage(OnDoc.Properties.Resources.two_blue_24x24_32, e.Bounds.X + 20, e.Bounds.Y);
}
Pen borderPen = new Pen(Color.LightGray);
e.Graphics.DrawLine(borderPen, e.Bounds.Right, e.Bounds.Top, e.Bounds.Right, e.Bounds.Bottom);
e.Graphics.DrawLine(borderPen, e.Bounds.Left, e.Bounds.Bottom, e.Bounds.Right, e.Bounds.Bottom);