Пример #1
0
        public static void Command_New()
        {
            if (DialogWindowOpen)
            {
                return;
            }

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

            ls.ShowDialog();
            DialogWindowOpen = false;
        }
Пример #2
0
        // Menu items
        private void LevelSettings_Click(object sender, RoutedEventArgs e)
        {
            LevelSettings ls = new LevelSettings();

            ls.ShowDialog();
        }