public static bool? ShowDialog(CommonDialog window) { ShowingDialogCount++; var result = window.ShowDialog(); ShowingDialogCount--; return result; }
public static bool ShowDialog(CommonDialog d, Window owner) { var r = d.ShowDialog(); return r.HasValue && r.Value; }
public ShowCommonDialogResult(CommonDialog commonDialog) { _commonDialog = commonDialog; }