protected void ShowErrorBox(string message, string title) { using (fMessageBox fMsg = new fMessageBox(this)) { fMsg.MESSAGE = message; fMsg.TITLE = title; fMsg.MSG_ICON = eMessageIcon.Danger; fMsg.MSG_TON = eMessageTon.Dangerous; fMsg.ShowDialog(); } }
protected void ShowCompletelyBox(string message, string title) { using (fMessageBox fMsg = new fMessageBox(this)) { fMsg.MESSAGE = message; fMsg.TITLE = title; fMsg.MSG_ICON = eMessageIcon.Safe; fMsg.MSG_TON = eMessageTon.Completely; fMsg.ShowDialog(); } }
protected DialogResult ShowQuestionBox(string message, string title) { DialogResult result; using (fMessageBox fMsg = new fMessageBox(this)) { fMsg.MESSAGE = message; fMsg.TITLE = title; fMsg.MSG_ICON = eMessageIcon.Unknow; fMsg.MSG_TON = eMessageTon.Information; result = fMsg.ShowDialog(); } return(result); }