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

            //register callbacks
            server.registerCallbackEvent(cbEvent);
        }