static public DialogResult ShowMessage(string strMsg, MessageBoxButtons msgBtns) { TMMessageBox.MsgBtns = msgBtns; return(TMMessageBox.ShowMsg(strMsg)); }
private void C_BtnOK_Click(object sender, System.EventArgs e) { TMMessageBox.DialogResult = DialogResult.OK; TMMessageBox.Close(); }