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()); }
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(); }
public static DialogResult ShowMsgBox(string strContent, string strCaption, MBIconType iconType) { return(ShowMsgBox(strContent, strCaption, iconType, MBButtonType.MBBtn_OK)); }
public static DialogResult ShowMsgBox(string strContent, string strCaption, MBIconType iconType) { return ShowMsgBox(strContent, strCaption, iconType, MBButtonType.MBBtn_OK); }