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); }
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; }
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); }