private void MergeNewMatches(DataTable NewMatches)
 {
     PotentialMatches.Merge(NewMatches);
     splitterMatches.Visibility = groupMatches.Visibility = (PotentialMatches.Rows.Count > 0) ? System.Windows.Visibility.Visible : System.Windows.Visibility.Collapsed;
     if (PotentialMatches.Rows.Count > 0 && MatchesColumn.ActualWidth == 0.0) //just for aesthetics, don't muck with the matches window width if it's already been opened for displaying previous matches
     {
         WPFHelpers.GridSplitterOpeningBounce(MatchesColumn, 300, true);
     }
 }
 private void btnCart_IsCheckedChanged(object sender, RoutedEventArgs e)
 {
     WPFHelpers.GridSplitterOpeningBounce(ShoppingCartColumn, 275, btnCart.IsChecked);
 }