private void barButtonItem1_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (pATIENTBASEINFOBindingSource.Current != null)
     {
         FrmNewDav frm1 = new FrmNewDav((Int64)((PATIENT_BASEINFO)pATIENTBASEINFOBindingSource.Current).ID, 0, 0);
         frm1.NewRegistEvt += frm1_NewRegistEvt;
         frm1.ShowDialog();
     }
     else
         XtraMessageBox.Show("请选择需要新增医嘱的患者.");
 }
 private void barButtonItem1_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     FrmNewDav frmNewDav = new FrmNewDav(-1, -1, 9);
     frmNewDav.NewRegistEvt += frmNewDav_NewRegistEvt;
     frmNewDav.ShowDialog();
 }