private void Label_MouseDown(object sender, MouseButtonEventArgs e) { LevelEditor levelEditor = new LevelEditor(modelLevel); levelEditor.Show(); levelEditor.Activate(); }
private void CommandBinding_Executed(object sender, ExecutedRoutedEventArgs e) { LevelEditor levelEditor = new LevelEditor(modelLevel); levelEditor.Show(); levelEditor.Activate(); }
public void startLevelEditor() { levelEditor = new LevelEditor(levelModel, levelReader); windowGrid.Children.Add(levelEditor); }