예제 #1
0
 private void ResetButton_Click(object sender, EventArgs e)
 {
     try
     {
         ResetClick?.Invoke(this, new EventArgs());
     }
     catch (BaseException ex)
     {
         ExceptionDialog.Show(ex);
     }
 }
예제 #2
0
 private void Reset_Click(object sender, RoutedEventArgs e) => ResetClick?.Invoke(this, new EventArgs());
예제 #3
0
 private void Button_Reset_OnClick(object sender, RoutedEventArgs e)
 {
     ResetClick?.Invoke();
 }
예제 #4
0
        private void ResetPlaylist_Click(object sender, RoutedEventArgs e)
        {
            IPlaylist playlist = (IPlaylist)((FrameworkElement)sender).DataContext;

            ResetClick?.Invoke(this, new PlaylistActionEventArgs(playlist));
        }