public TabViewInTime() { InitializeComponent(); timeSpinner = new TimeSpinner(false, ItemsControl); this.Loaded += delegate { EnableCountdownMode(((MainWindow)Application.Current.MainWindow).IsCountdownMode); }; }
public TabViewAtTime() { InitializeComponent(); timeSpinner = new TimeSpinner(true, ItemsControl, DatePickerAt); DatePickerAt.SelectedDate = DateTime.Now; this.Loaded += delegate { EnableCountdownMode(((MainWindow)Application.Current.MainWindow).IsCountdownMode); }; }