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, CustomTxtBinder.Delete, msg, false); box.ShowDialog(); return(box.Result); }