Exemplo n.º 1
0
        public static void Command_New()
        {
            if (DialogWindowOpen)
            {
                return;
            }

            DialogWindowOpen = true;
            LevelSettings ls = new LevelSettings(true);

            ls.ShowDialog();
            DialogWindowOpen = false;
        }
Exemplo n.º 2
0
        // Menu items
        private void LevelSettings_Click(object sender, RoutedEventArgs e)
        {
            LevelSettings ls = new LevelSettings();

            ls.ShowDialog();
        }