Example #1
0
        public static MessageBoxResult Show(Window owner, string text, string caption, MessageBoxButton button, MessageBoxImage image)
        {
            var wmb = new WndMessageBox(text, caption, button, image, owner);

            wmb.ShowDialog();
            return(wmb.Result);
        }
Example #2
0
        public static MessageBoxResult Show(string text, string caption, MessageBoxButton button)
        {
            var wmb = new WndMessageBox(text, caption, button);

            wmb.ShowDialog();
            return(wmb.Result);
        }
Example #3
0
        public static MessageBoxResult Show(Window owner, string text)
        {
            var wmb = new WndMessageBox(text, "", MessageBoxButton.OK, MessageBoxImage.None, owner);

            wmb.ShowDialog();
            return(wmb.Result);
        }
Example #4
0
        public static MessageBoxResult Show(string text)
        {
            var wmb = new WndMessageBox(text);

            wmb.ShowDialog();
            return(wmb.Result);
        }
Example #5
0
 public static MessageBoxResult Show(Window owner, string text, string caption, MessageBoxButton button, MessageBoxImage image)
 {
     var wmb = new WndMessageBox(text, caption, button, image, owner);
     wmb.ShowDialog();
     return wmb.Result;
 }
Example #6
0
 public static MessageBoxResult Show(string text, string caption, MessageBoxButton button)
 {
     var wmb = new WndMessageBox(text, caption, button);
     wmb.ShowDialog();
     return wmb.Result;
 }
Example #7
0
 public static MessageBoxResult Show(Window owner, string text)
 {
     var wmb = new WndMessageBox(text, "", MessageBoxButton.OK, MessageBoxImage.None, owner);
     wmb.ShowDialog();
     return wmb.Result;
 }
Example #8
0
 public static MessageBoxResult Show(string text)
 {
     var wmb = new WndMessageBox(text);
     wmb.ShowDialog();
     return wmb.Result;
 }