示例#1
0
文件: Shared.cs 项目: RasyidUFA/UFSJ
 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);
 }
示例#2
0
文件: Shared.cs 项目: RasyidUFA/UFSJ
 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;
 }
示例#3
0
文件: Shared.cs 项目: RasyidUFA/UFSJ
 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);
 }