private void bt_return_Click(object sender, EventArgs e) { if (str_djlsh == "") { return; } if (object.Equals(null, cmb_zhxm.SelectedValue)) { MessageBox.Show("请选择要返回重新获取数据的项目!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information); return; } if (str_tjzt == "2") { DialogResult dlg = MessageBox.Show("该人员已经总检,你确定重新获取检验结果?", "提示", MessageBoxButtons.OKCancel, MessageBoxIcon.Information, MessageBoxDefaultButton.Button2); if (dlg == DialogResult.OK) { lisbiz.Exec_Return(str_djlsh, cmb_zhxm.SelectedValue.ToString().Trim()); str_djlsh = ""; txt_xm.Text = ""; txt_nl.Text = ""; txt_xb.Text = ""; cmb_zhxm.DataSource = null; MessageBox.Show("发回成功!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information); } } else { lisbiz.Exec_Return(str_djlsh, cmb_zhxm.SelectedValue.ToString().Trim()); str_djlsh = ""; txt_xm.Text = ""; txt_nl.Text = ""; txt_xb.Text = ""; cmb_zhxm.DataSource = null; MessageBox.Show("发回成功!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information); } }