Exemple #1
0
 private void button4_Click(object sender, EventArgs e)
 {
     controller.QueueCommand(new GuiController.Command(delegate()
     {
         controller.ShutDown();
     }));
 }
Exemple #2
0
        private void quitToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (!initialized)
            {
                return;
            }

            guicontrol.ShutDown();
        }