예제 #1
0
        private void PACUToolStripMenuItem_Click(object sender, EventArgs e)
        {
            string  patID    = dgvMzjld.CurrentRow.Cells["病人编号"].Value.ToString();
            string  mzID     = dgvMzjld.CurrentRow.Cells["麻醉编号"].Value.ToString();
            PACU_SZ pacuform = new PACU_SZ(patID, mzID);

            pacuform.ShowDialog();
        }
예제 #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            if (dataGridView1.SelectedRows.Count <= 0)
            {
                MessageBox.Show("请选择病人!");
            }
            else
            {
                string patID = dataGridView1.CurrentRow.Cells["病人编号"].Value.ToString();
                string mzID  = dataGridView1.CurrentRow.Cells["麻醉编号"].Value.ToString();

                PACU_SZ pacuform = new PACU_SZ(patID, mzID);
                pacuform.ShowDialog();
            }
        }