/// <summary> /// 术前访视 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void tsmiSQFS_Click(object sender, EventArgs e) { if (dataGridView1.Rows.Count > 0) { BeforeVisit_HQ f2 = new BeforeVisit_HQ(dataGridView1.CurrentRow.Cells["PatZhuYuanID"].Value.ToString(), dataGridView1.CurrentRow.Cells["otime"].Value.ToString()); f2.ShowDialog(); } }
private void 进入医师术前访视记录单ToolStripMenuItem_Click(object sender, EventArgs e) { if (dataGridView1.Rows.Count > 0) { string patid = Convert.ToString(dataGridView1.SelectedRows[0].Cells["PatZhuYuanID"].Value); string odate = DateTime.Parse(dataGridView1.SelectedRows[0].Cells["Column2"].Value.ToString()).ToString("yyyy-MM-dd"); BeforeVisit_HQ f2 = new BeforeVisit_HQ(patid, odate); f2.ShowDialog(); } }