Esempio n. 1
0
 private void 扣分详情ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (dataGridViewX1.SelectedRows.Count > 0)
     {
         frmKFXQ frm = new frmKFXQ(dataGridViewX1.SelectedRows[0].Cells["编号"].Value.ToString());
         frm.ShowDialog();
     }
 }
Esempio n. 2
0
        private void btnKFXX_Click(object sender, EventArgs e)
        {
            string patient_id = "";

            if (dst != null)
            {
                foreach (DataRow dr in dst.Rows)
                {
                    if (patient_id == "")
                    {
                        patient_id = "'" + dr["编号"].ToString() + "'";
                    }
                    else
                    {
                        patient_id += ",'" + dr["编号"].ToString() + "'";
                    }
                }
                frmKFXQ kfxq = new frmKFXQ(patient_id);
                kfxq.ShowDialog();
            }
        }