private void OnTimeSelectedChanged(TimeSpan newTime, TimeSpan oldTime) { TimeSelectedChangedRoutedEventArgs args = new TimeSelectedChangedRoutedEventArgs(SelectedTimeChangedEvent); args.NewTime = newTime; args.OldTime = oldTime; RaiseEvent(args); }