示例#1
0
        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);
        }
示例#2
0
        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);
        }