移除Connected状态下不必要的InfoImage处理代码
This commit is contained in:
@@ -808,14 +808,7 @@ namespace JoyD.Windows.CS.Toprie
|
||||
case ConnectionStatus.Connected:
|
||||
Console.WriteLine("设备已连接");
|
||||
|
||||
// 清除InfoImage和显示标志
|
||||
lock (_infoImageLock)
|
||||
{
|
||||
if (_infoImage != null)
|
||||
{
|
||||
_infoImage.Dispose();
|
||||
}
|
||||
}
|
||||
// 清除显示标志
|
||||
_isDisplayingInfo = false;
|
||||
|
||||
// 清除错误信息
|
||||
|
||||
Reference in New Issue
Block a user