/// <summary> /// 断开连接 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void DisLink(object sender, MouseButtonEventArgs e) { try { TaskInoke.Close(); } catch (Exception ex) { Log.error("连接失败", ex); } }