/// <summary> /// Calls the ChatProxy.Abort (ClientBase<IChat>.Abort()) and also /// the ChatProxy.Close (ClientBase<IChat>.Close()) methods /// </summary> public void AbortProxy() { if (proxy != null) { proxy.Abort(); proxy.Close(); proxy = null; } }
private void AbortProxyAndUpdateUI() { if (proxy != null) { proxy.Abort(); proxy.Close(); proxy = null; } ShowConnectMenuItem(true); }