public static DialogResult ShowMsg(string strMsg1, string strMsg2, frmMessage.enMessageType enType, int intSecClose) { frmMessage frmMsg = new frmMessage(strMsg1, strMsg2, enType, intSecClose); return(frmMsg.ShowDialog()); }