private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e) { try { if (mBolConnected) { mObjBoards.Disconnect(mObjConnection); } } catch (Exception lObjException) { CustomMessageBox.Show("Error", lObjException.Message); } }
private void DisconnectBoardsService() { try { if (mBolBoardLoaded) { mObjBoardServer.Disconnect(mObjBoardConnection); } } catch (Exception lObjException) { ShowMessage("Conexión a pantallas", lObjException.Message); mBolBoardLoaded = false; } }