예제 #1
0
        public static MessageBoxResult Confirm(string title, string message, ParagonWindow owner)
        {
            var dialog = new JavaScriptDialogWindow {
                CustomChromeEnabled = owner.CustomChromeEnabled
            };

            return(Show(title, null, ref message, true, owner, dialog));
        }
예제 #2
0
        public static void Alert(string title, string message, ParagonWindow owner)
        {
            var dialog = new JavaScriptDialogWindow {
                CustomChromeEnabled = owner.CustomChromeEnabled
            };

            Show(title, null, ref message, false, owner, dialog);
        }