Esempio n. 1
0
        private void Label_MouseDown(object sender, MouseButtonEventArgs e)
        {
            LevelEditor levelEditor = new LevelEditor(modelLevel);

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

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