修复连接成功后InfoImage仍显示正在重连的问题
This commit is contained in:
@@ -808,8 +808,9 @@ namespace JoyD.Windows.CS.Toprie
|
|||||||
case ConnectionStatus.Connected:
|
case ConnectionStatus.Connected:
|
||||||
Console.WriteLine("设备已连接");
|
Console.WriteLine("设备已连接");
|
||||||
|
|
||||||
// 清除显示标志
|
// 清除显示标志并刷新UI
|
||||||
_isDisplayingInfo = false;
|
_isDisplayingInfo = false;
|
||||||
|
UpdateImageOnUI();
|
||||||
|
|
||||||
// 清除错误信息
|
// 清除错误信息
|
||||||
ShowError(string.Empty);
|
ShowError(string.Empty);
|
||||||
|
|||||||
Reference in New Issue
Block a user