private SceneControl AddSceenControl(Scene scene)
 {
     SceneControl sceneControl = new SceneControl(scene);
     ScenesWrapPanel.Children.Add(sceneControl);
     sceneControl.Removed += new EventHandler(sceneControl_Removed);
     return sceneControl;
 }
Ejemplo n.º 2
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     SceneControl sc = new SceneControl();
     IainList.Items.Add(sc);
 }