/// <summary> /// 出院召回病人列表 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void checkBox1_Click(object sender, EventArgs e) { if (checkBox1.Checked == true) { dataGridViewEx1.DataSource = op_bed.getPatNotAssignBedRecall(Convert.ToInt32(currentDept.DeptID)); } else { dataGridViewEx1.DataSource = op_bed.getPatNotAssignBed(Convert.ToInt32(currentDept.DeptID)); } }
private void checkBox1_Click(object sender, EventArgs e) { if (checkBox1.Checked == true) { dataGridViewEx1.AutoGenerateColumns = false; dataGridViewEx1.DataSource = op_bed.getPatNotAssignBedRecall(deptid); } else { dataGridViewEx1.AutoGenerateColumns = false; dataGridViewEx1.DataSource = op_bed.getPatNotAssignBed(deptid); } }