Пример #1
0
 private void buttonStop_Click(object sender, EventArgs e)
 {
     buttonStart.Enabled = true;
     buttonStop.Enabled  = false;
     server.stop();
     server = null;
     updateStatus("Server Stopped.");
 }
Пример #2
0
 private void buttonStart_Click(object sender, EventArgs e)
 {
     buttonStart.Enabled = false;
     buttonStop.Enabled  = true;
     server = new VixenHTTPServer();
     server.start();
     updateStatus("Server Started");
 }