public static void Open(ShellView ShellListView) { var csf = new ConditionalSelectForm(); csf.ShowDialog(); if (!csf.CancelAction) { csf.ConditionallySelectFiles(csf.csd, ShellListView); } }
private void btnCondSel_Click(object sender, RoutedEventArgs e) { btnCondSel.IsDropDownOpen = false; Explorer.ExplorerSetFocus(); ConditionalSelectForm csf = new ConditionalSelectForm(); csf.ShowDialog(); if (csf.CancelAction == false) { ConditionallySelectFiles(csf.csd); } //this.Activate(); Explorer.ExplorerSetFocus(); }