/// <summary> /// Disconnects from the server. /// </summary> public void Disconnect() { try { Interp.Disconnect(); } catch (Exception ex) { App.Conveyor.EchoError($"Network Failure: {ex.Message}"); } TitleBar.IsConnected = false; MenuNetworkButton.Header = "Connect"; }
/// <summary> /// Disconnects from the server. /// </summary> public void Disconnect() { Interp.Disconnect(); TabMain.IsConnected = false; }
/// <summary> /// Disconnects from the server. /// </summary> public void Disconnect() { Interp.Disconnect(); TabMain.IsConnected = false; MenuNetworkButton.Header = "Connect"; }