Example #1
0
        private void Label_MouseDown(object sender, MouseButtonEventArgs e)
        {
            LevelEditor levelEditor = new LevelEditor(modelLevel);

            levelEditor.Show();
            levelEditor.Activate();
        }
Example #2
0
        private void CommandBinding_Executed(object sender, ExecutedRoutedEventArgs e)
        {
            LevelEditor levelEditor = new LevelEditor(modelLevel);

            levelEditor.Show();
            levelEditor.Activate();
        }
Example #3
0
 public void startLevelEditor()
 {
     levelEditor = new LevelEditor(levelModel, levelReader);
     windowGrid.Children.Add(levelEditor);
 }