优化
This commit is contained in:
@@ -107,10 +107,7 @@ namespace JoyD.Windows.CS.Toprie
|
|||||||
using (Graphics g = Graphics.FromImage(_infoImage))
|
using (Graphics g = Graphics.FromImage(_infoImage))
|
||||||
{
|
{
|
||||||
// 设置半透明背景
|
// 设置半透明背景
|
||||||
using (SolidBrush brush = new SolidBrush(Color.FromArgb(128, Color.Transparent)))
|
g.Clear(Color.FromArgb(128, Color.Transparent));
|
||||||
{
|
|
||||||
g.FillRectangle(brush, 0, 0, BUFFER_WIDTH, BUFFER_HEIGHT);
|
|
||||||
}
|
|
||||||
if (isPaused)
|
if (isPaused)
|
||||||
{
|
{
|
||||||
// 暂停状态 - 最高优先级
|
// 暂停状态 - 最高优先级
|
||||||
@@ -150,7 +147,7 @@ namespace JoyD.Windows.CS.Toprie
|
|||||||
}
|
}
|
||||||
else if (isPingFailed)
|
else if (isPingFailed)
|
||||||
{
|
{
|
||||||
text = "连接断开";
|
text = "网络断开";
|
||||||
textColor = Color.Red;
|
textColor = Color.Red;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user