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;
 }