private void btnOK_Click(object sender, EventArgs e) { bool bReturn = MZHS_FZJL.KzzZz(Convert.ToInt32(_CurrentZq.Zqid), Convert.ToInt32(this.cmbDept.SelectedValue), blh, InstanceForm.BDatabase); if (bReturn) { this.DialogResult = DialogResult.OK; this.Close(); } else { this.DialogResult = DialogResult.No; this.Close(); } }