Example #1
0
 public static bool MSGBOX(string title, string description, System.Windows.Window owner = null)
 {
     var Msg = new Windows.MessageWnd(title, description, MessageBoxButton.OK);
     Msg.Owner = owner;
     return (Msg.ShowDialog() == true);
 }
Example #2
0
 public static MessageBoxResult MSGBOX(string title, string description, MessageBoxButton button, System.Windows.Window owner = null)
 {
     var Msg = new Windows.MessageWnd(title, description, button);
     Msg.Owner = owner;
     Msg.ShowDialog();
     return Msg.Result;
 }
Example #3
0
 public static bool MSGBOX(string p, System.Windows.Window owner = null)
 {
     var Msg = new Windows.MessageWnd(Shared.GetRes("#D.01#", "Information"), p, MessageBoxButton.OK);
     Msg.Owner = owner;
     return (Msg.ShowDialog() == true);
 }