public static bool? ShowDialog(CommonDialog window)
        {
            ShowingDialogCount++;
            var result = window.ShowDialog();
            ShowingDialogCount--;

            return result;
        }
示例#2
0
文件: guicomp.cs 项目: sirmax1/coin
 public static bool ShowDialog(CommonDialog d, Window owner)
 {
     var r = d.ShowDialog();
     return r.HasValue && r.Value;
 }
示例#3
0
 public ShowCommonDialogResult(CommonDialog commonDialog)
 {
     _commonDialog = commonDialog;
 }