private void WrapPanel_PreviewMouseWheel(object sender, MouseWheelEventArgs e) { ListClient.UnselectAll(); if (MenuClientModal.Visibility == Visibility.Visible) { MenuClientModal.Visibility = Visibility.Collapsed; } }
private void WrapPanel_MouseDown(object sender, MouseButtonEventArgs e) { ListClient.UnselectAll(); if (MenuClientModal.Visibility == Visibility.Visible) { MenuClientModal.Visibility = Visibility.Collapsed; } }
private void RadioButton_Checked_2(object sender, RoutedEventArgs e) { loaded(); dt.DefaultView.RowFilter = "Active = '" + false + "'"; ListClient.UnselectAll(); if (MenuClientModal.Visibility == Visibility.Visible) { MenuClientModal.Visibility = Visibility.Collapsed; } }