Exemple #1
0
        /// <summary>
        /// Handles the Click event of the btnCloseAllOpenDiffTools control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="RoutedEventArgs"/> instance containing the event data.</param>
        private void btnCloseAllOpenDiffTools_Click(object sender, RoutedEventArgs e)
        {
#if !VS2012
            ThreadHelper.ThrowIfNotOnUIThread();
#endif
            _viewModel.CloseAllOpenCompareWindows();
        }
Exemple #2
0
 /// <summary>
 /// Handles the Click event of the btnCloseAllOpenDiffTools control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="RoutedEventArgs"/> instance containing the event data.</param>
 private void btnCloseAllOpenDiffTools_Click(object sender, RoutedEventArgs e)
 {
     _viewModel.CloseAllOpenCompareWindows();
 }