update 20260412
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user