Beispiel #1
0
        private void SQFSToolStripMenuItem_Click(object sender, EventArgs e)
        {
            string         patID = dgvMzjld.CurrentRow.Cells[1].Value.ToString();
            BeforeVisit_YS f2    = new BeforeVisit_YS(patID);

            f2.ShowDialog();
        }
Beispiel #2
0
        private void SQFSToolStripMenuItem_Click(object sender, EventArgs e)
        {
            string         patID = dgvMzjld.CurrentRow.Cells["mzjldid"].Value.ToString();
            string         mzID  = dgvMzjld.CurrentRow.Cells["patid"].Value.ToString();
            string         Odate = dgvMzjld.CurrentRow.Cells["otime"].Value.ToString();
            BeforeVisit_YS F     = new BeforeVisit_YS(patID, Odate);

            F.ShowDialog();
        }
Beispiel #3
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (dataGridView1.SelectedRows.Count >= 1)
     {
         string         patID = dataGridView1.CurrentRow.Cells["病人编号"].Value.ToString();
         BeforeVisit_YS f2    = new BeforeVisit_YS(patID);
         f2.ShowDialog();
     }
     else
     {
         MessageBox.Show("请选择病人!");
     }
 }