private void btn_start_Click(object sender, EventArgs e) { string ip = tIP.Text; int port = int.Parse(tPort.Text); string cdt = tCdt.Text; string cit = tCit.Text; WorklistServer.Start(port, cdt, list); logger.Info("Server is running."); }
private void btn_stop_Click(object sender, EventArgs e) { WorklistServer.Stop(); logger.Info("Server is stopped."); }