Пример #1
0
 private void Start_Click(object sender, EventArgs e)
 {
     if (thread == null)
     {
         thread = new Thread(() =>
         {
             server = new Server(port, path);
             server.StartServer();
         });
         thread.Start();
     }
 }