示例#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();
 }
        private void ResetPlaylist_Click(object sender, RoutedEventArgs e)
        {
            IPlaylist playlist = (IPlaylist)((FrameworkElement)sender).DataContext;

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