Exemple #1
0
 public void AddBtn_Click(object sender, RoutedEventArgs e)
 {
     if (!ReferenceEquals(null, SceneInUse.Instance.Scene))
     {
         var widget = new Widget.EventGraphControl();
         widget.MinHeight = GeneralSettings.Instance.EventsGraphMinHeight.Value;
         MainStack.Children.Add(widget);
     }
 }
Exemple #2
0
 public void Fill()
 {
     StackButtons.Visibility = Visibility.Visible;
     if (!ReferenceEquals(null, SceneInUse.Instance.Scene))
     {
         var widget = new Widget.EventGraphControl();
         widget.MinHeight = GeneralSettings.Instance.EventsGraphMinHeight.Value;
         MainStack.Children.Add(widget);
     }
 }