public static bool showQuestion(string messageContent) { frm = new frm_message(ConstantField.CODE_MSG_QUESTION, messageContent); frm.btnExit.Visible = true; frm.ShowDialog(); return(frm.ok); }
public static void showWarning(string messageContent) { frm = new frm_message(ConstantField.CODE_MSG_WARNING, messageContent); frm.ShowDialog(); }
public static void showError(string messageContent) { frm = new frm_message(ConstantField.CODE_MSG_ERROR, messageContent); frm.ShowDialog(); }
private void ShowMessageBox() { message = new frm_message(); message.MdiParent = this; message.Show(); }