/// <summary> /// 自定义诊断维护 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnDigmodify_Click(object sender, EventArgs e) { if (txtICD10code.Text.Trim() != "") { current_id = ""; frmICD10Vindicate_ModiFy fc = new frmICD10Vindicate_ModiFy(current_name, current_id, current_iszy, current_isicd10, txtICD10code.Text.Trim()); App.FormStytleSet(fc, false); fc.ShowDialog(); ShowSelfDigs(txtICD10code.Text.Trim()); } else { App.MsgWaring("请先选择标准ICD10诊断!"); } }
private void ucC1FlexGrid2_DoubleClick(object sender, EventArgs e) { try { if (ucGridviewX2.fg.Rows.Count > 0) { current_id = ucGridviewX2.fg["代码", ucGridviewX2.fg.CurrentRow.Index].Value.ToString(); current_name = ucGridviewX2.fg["名称", ucGridviewX2.fg.CurrentRow.Index].Value.ToString(); if (ucGridviewX2.fg["是否中医诊断", ucGridviewX2.fg.CurrentRow.Index].Value.ToString() == "N") { current_iszy = "N"; } else { current_iszy = "Y"; } if (ucGridviewX2.fg["是否ICD10诊断码", ucGridviewX2.fg.CurrentRow.Index].Value.ToString() == "Y") { current_isicd10 = "N"; } else { current_isicd10 = "Y"; } current_icd10code = ucGridviewX2.fg["ICD10诊断码", ucGridviewX2.fg.CurrentRow.Index].Value.ToString(); frmICD10Vindicate_ModiFy fc = new frmICD10Vindicate_ModiFy(current_name, current_id, current_iszy, current_isicd10, current_icd10code); App.FormStytleSet(fc, false); fc.ShowDialog(); ShowSelfDigs(current_icd10code); } } catch (Exception ex) { App.MsgErr("请选择要修改的数据!" + ex.Message); } }