private void grdPNLISChk_MouseDoubleClick(object sender, MouseButtonEventArgs e) { if (null == grdPNLISChk.SelectedItem) { return; } DataRowView drv = (DataRowView)grdPNLISChk.SelectedItem; WinInfoDialog win = new WinInfoDialog(); win.Owner = AppConst.winMain; win.showChartLine(this.patient.PatientCode, (int)drv.Row["ID"], drv.Row["ItemName"].ToString()); win.ShowDialog(); win = null; }
private void btnMntResult_Click(object sender, RoutedEventArgs e) { if (null == lbOrders.SelectedItem) { BLPublic.Dialogs.Alert("请选择医嘱."); lbOrders.Focus(); return; } WinInfoDialog win = new WinInfoDialog(); win.Owner = AppConst.winMain; win.Title = "审方结果"; win.PatientCode = this.patient.PatientCode; win.showTPNChkResult(((OrdersModel)lbOrders.SelectedItem).RecipeID); win.ShowDialog(); win = null; }
private void lvChkRecord_MouseDoubleClick(object sender, MouseButtonEventArgs e) { if (null == lvLISChkRecord.SelectedItem) { return; } CheckRecord chkRcd = (CheckRecord)lvLISChkRecord.SelectedItem; WinInfoDialog win = new WinInfoDialog(); win.Owner = AppConst.winMain; win.Title = chkRcd.CheckType; win.PatientCode = this.patient.PatientCode; win.showCheckResult(chkRcd.RecordNo, chkRcd.TypeCode, chkRcd.CheckTime, this.addCustody); win.ShowDialog(); win = null; lbOpRecord.Items.Refresh(); }