Esempio n. 1
0
 /// <summary>
 /// 器械包详情
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void toolStrip_baseSetBtn_Click(object sender, EventArgs e)
 {
     if (dgv_base.CurrentRow != null)
     {
         DataGridViewRow row       = dgv_base.CurrentRow;
         string          bcc_code  = Convert.ToString(row.Cells["set_code"].Value);
         SortedList      condition = new SortedList();
         condition.Add(bcc_code, bcc_code);
         HCSWF_set_detail_new newdetail = new HCSWF_set_detail_new(condition);
         newdetail.ShowDialog();
     }
 }
Esempio n. 2
0
 private void dgv_base_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.RowIndex < 0)
     {
         return;
     }
     if (dgv_base.CurrentRow != null)
     {
         DataGridViewRow row       = dgv_base.CurrentRow;
         string          bcc_code  = Convert.ToString(row.Cells["set_code"].Value);
         SortedList      condition = new SortedList();
         condition.Add(bcc_code, bcc_code);
         HCSWF_set_detail_new newdetail = new HCSWF_set_detail_new(condition);
         newdetail.ShowDialog();
     }
 }