private void ErrorMessage(string str) { MessageBox.Show(str, "错误", MessageBoxButtons.OK, MessageBoxIcon.Hand); }