예제 #1
0
        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;
 }