Пример #1
0
 private void AppClose(object sender, EventArgs e)
 {
     if (appServer != null)
     {
         appServer.Stop();
     }
 }
Пример #2
0
 public void Stop()
 {
     s.Stop();
     s = null;
     this.Close();
 }