public static BaseDialog ShowQuestionDialog(string title, string question) { BaseDialog dialog = new BaseDialog(); dialog.lbl_Title.Text = title; dialog.MessageContainer.Text = question; dialog.AddButtons(MessageBoxButton.YesNo); return(dialog); }
public static BaseDialog ShowInfoDialog(string _caption, string _message) { BaseDialog dialog = new BaseDialog(); dialog.lbl_Title.Text = _caption; dialog.MessageContainer.Text = _message; dialog.AddButtons(MessageBoxButton.OK); return(dialog); }