예제 #1
0
        private void startServerToolStripMenuItem_Click(object sender, EventArgs e)
        {
            server.Start();
            startServerToolStripMenuItem.Enabled = false;
            stopServerToolStripMenuItem.Enabled  = true;

            //register callbacks
            server.registerCallbackEvent(cbEvent);
        }
예제 #2
0
 private void startServerToolStripMenuItem_Click(object sender, EventArgs e)
 {
     server.Start();
     startServerToolStripMenuItem.Enabled = false;
     stopServerToolStripMenuItem.Enabled  = true;
 }