public static MsgBoxResult ShowBox(string title, string msg, bool suppressContinue = false) { MsgBoxYesNo box = new MsgBoxYesNo(title, msg, suppressContinue); box.ShowDialog(); return(box.Result); }
public static MsgBoxResult ShowBoxDelete(Window win, string msg) { MsgBoxYesNo box = new MsgBoxYesNo(win, DI.Wrapper.GetText(MsgCode.Delete), msg, false); box.ShowDialog(); return(box.Result); }