Example #1
0
        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.");
        }
Example #2
0
 private void btn_stop_Click(object sender, EventArgs e)
 {
     WorklistServer.Stop();
     logger.Info("Server is stopped.");
 }