* UIListBox: 选中项显示方角

This commit is contained in:
Sunny 2021-07-30 11:36:55 +08:00
parent 0a08a04b35
commit 1085aa6b95
7 changed files with 4 additions and 4 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -593,7 +593,7 @@ namespace Sunny.UI
if (!otherState)
{
e.Graphics.FillRectangle(BackColor, e.Bounds);
e.Graphics.FillRoundRectangle(backColor, rect, 5);
e.Graphics.FillRectangle(backColor, rect);
}
else
{
@ -610,7 +610,7 @@ namespace Sunny.UI
}
e.Graphics.FillRectangle(BackColor, e.Bounds);
e.Graphics.FillRoundRectangle(backColor, rect, 5);
e.Graphics.FillRectangle(backColor, rect);
}
Graphics g = e.Graphics;

View File

@ -672,7 +672,7 @@ namespace Sunny.UI
if (!otherState)
{
e.Graphics.FillRectangle(BackColor, e.Bounds);
e.Graphics.FillRoundRectangle(backColor, rect, 5);
e.Graphics.FillRectangle(backColor, rect);
e.Graphics.DrawString(showText, e.Font, foreColor, e.Bounds, sStringFormat);
}
else
@ -690,7 +690,7 @@ namespace Sunny.UI
}
e.Graphics.FillRectangle(BackColor, e.Bounds);
e.Graphics.FillRoundRectangle(backColor, rect, 5);
e.Graphics.FillRectangle(backColor, rect);
e.Graphics.DrawString(showText, e.Font, foreColor, e.Bounds, sStringFormat);
}