Exemple #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;
 }
Exemple #2
0
 public static MessageBoxResult Show(Window owner, string text)
 {
     var wmb = new WndMessageBox(text, "", MessageBoxButton.OK, MessageBoxImage.None, owner);
     wmb.ShowDialog();
     return wmb.Result;
 }
Exemple #3
0
 public static MessageBoxResult Show(string text, string caption, MessageBoxButton button)
 {
     var wmb = new WndMessageBox(text, caption, button);
     wmb.ShowDialog();
     return wmb.Result;
 }
Exemple #4
0
 public static MessageBoxResult Show(string text)
 {
     var wmb = new WndMessageBox(text);
     wmb.ShowDialog();
     return wmb.Result;
 }