Exemple #1
0
 public void AddBtn_Click(object sender, RoutedEventArgs e)
 {
     if (!ReferenceEquals(null, SceneInUse.Instance.Scene))
     {
         var widget = new Widget.IntervalGraphControl();
         widget.MinHeight = GeneralSettings.Instance.IntervalsGraphMinHeight.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.IntervalGraphControl();
         widget.MinHeight = GeneralSettings.Instance.IntervalsGraphMinHeight.Value;
         MainStack.Children.Add(widget);
     }
 }