private void buttonStop_Click(object sender, EventArgs e) { buttonStart.Enabled = true; buttonStop.Enabled = false; server.stop(); server = null; updateStatus("Server Stopped."); }
private void buttonStart_Click(object sender, EventArgs e) { buttonStart.Enabled = false; buttonStop.Enabled = true; server = new VixenHTTPServer(); server.start(); updateStatus("Server Started"); }