예제 #1
0
 private void Page_OnClosed()
 {
     instance.Close();
     instance = null;
 }
예제 #2
0
        /**
         * When the option 'Exit' is selected in the context menu, the application is
         * shut down.
         */
        private void SettingsToolStripMenuItem_Click(object sender, System.EventArgs e)
        {
            SettingsWindow sw = SettingsWindow.Instance;

            sw.Show();
        }
예제 #3
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            SettingsWindow sw = SettingsWindow.Instance;

            sw.Show();
        }