Example #1
0
 /// <summary>
 /// 自定义手术维护
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnOpmodify_Click(object sender, EventArgs e)
 {
     if (txtICD9code.Text.Trim() != "")
     {
         current_id = "";
         frmICD9Vindicate_ModiFy fc = new frmICD9Vindicate_ModiFy(current_name, current_id, txtICD9code.Text.Trim());
         App.FormStytleSet(fc, false);
         fc.ShowDialog();
         ShowUserICD9Data(txtICD9code.Text.Trim());
     }
     else
     {
         App.MsgWaring("请先选择标准ICD9诊断!");
     }
 }
Example #2
0
 private void ucC1FlexGrid2_DoubleClick(object sender, EventArgs e)
 {
     try
     {
         if (ucGridviewX2.fg.Rows.Count > 0)
         {
             current_id       = ucGridviewX2.fg["ID", ucGridviewX2.fg.CurrentRow.Index].Value.ToString();
             current_name     = ucGridviewX2.fg["名称", ucGridviewX2.fg.CurrentRow.Index].Value.ToString();
             current_icd9code = ucGridviewX2.fg["ICD9手术码", ucGridviewX2.fg.CurrentRow.Index].Value.ToString();
             frmICD9Vindicate_ModiFy fc = new frmICD9Vindicate_ModiFy(current_name, current_id, current_icd9code);
             App.FormStytleSet(fc, false);
             fc.ShowDialog();
             ShowUserICD9Data(current_icd9code);
         }
     }
     catch (Exception ex)
     {
         App.MsgErr("请选择要修改的数据!" + ex.Message);
     }
 }