示例#1
0
 /// <summary>
 /// Calls the ChatProxy.Abort (ClientBase&ltIChat&gt.Abort()) and also
 /// the ChatProxy.Close (ClientBase&ltIChat&gt.Close()) methods
 /// </summary>
 public void AbortProxy()
 {
     if (proxy != null)
     {
         proxy.Abort();
         proxy.Close();
         proxy = null;
     }
 }
示例#2
0
 private void AbortProxyAndUpdateUI()
 {
     if (proxy != null)
     {
         proxy.Abort();
         proxy.Close();
         proxy = null;
     }
     ShowConnectMenuItem(true);
 }