Exemplo n.º 1
0
        public static DialogResult ShowMsgBox(string strContent, string strCaption, MBIconType iconType, MBButtonType btnType)
        {
            MsgForm form = new MsgForm();

            form.Content = strContent;
            form.Text = strCaption;
            form.IconType = iconType;
            form.ButtonType = btnType;
            form.AutoSize = true;

            return form.ShowDialog();

        }
Exemplo n.º 2
0
        public static DialogResult ShowMsgBox(string strContent, string strCaption, MBIconType iconType, MBButtonType btnType)
        {
            MsgForm form = new MsgForm();

            form.Content    = strContent;
            form.Text       = strCaption;
            form.IconType   = iconType;
            form.ButtonType = btnType;
            form.AutoSize   = true;

            return(form.ShowDialog());
        }
Exemplo n.º 3
0
 public static DialogResult ShowMsgBox(string strContent, string strCaption, MBButtonType btnType)
 {
     return(ShowMsgBox(strContent, strCaption, MBIconType.MBIcon_None, btnType));
 }
Exemplo n.º 4
0
 public static DialogResult ShowMsgBox(string strContent, string strCaption, MBButtonType btnType)
 {
     return ShowMsgBox(strContent, strCaption, MBIconType.MBIcon_None, btnType);
 }