示例#1
0
 public void OnStopExecuted(object obj)
 {
     try
     {
         server.Stop();
     }
     catch (Exception)
     {
         Debug.WriteLine("Exception");
     }
 }
示例#2
0
 public void OnStopExecuted(object obj)
 {
     try
     {
         server.Stop();
         Clients.Clear();
         Running = false;
     }
     catch (Exception)
     {
         Debug.WriteLine("Exception");
     }
 }