/// <summary> /// 出院病历打印 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void txtOutHos_Click(object sender, EventArgs e) { if (isOutHos) { #region Log.Info(GetType().ToString(), "点击出院病例打印"); this.ucTime1.timer1.Stop(); FrmInhosCostListPrint frm = new FrmInhosCostListPrint(); try { frm.ShowDialog(this); } catch (Exception ex) { Log.Info(GetType().ToString(), "点击出院病例打印异常信息:" + ex.Message); SkyComm.ShowMessageInfo("出院病例打印失败!" + ex.Message); } finally { frm.Dispose(); } this.ucTime1.Sec = 60; this.ucTime1.timer1.Start(); #endregion } }
/// <summary> /// 住院费用清单打印 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnInhosCostListPrint_Click(object sender, EventArgs e) { if (ishosCostListPrint) { #region this.ucTime1.timer1.Stop(); FrmInhosCostListPrint frm = new FrmInhosCostListPrint(); try { frm.ShowDialog(this); } catch (Exception ex) { Skynet.LoggingService.LogService.GlobalInfoMessage("住院费用清单打印失败:" + ex.Message); SkyComm.ShowMessageInfo("住院费用清单打印失败!" + ex.Message); } finally { frm.Dispose(); } this.ucTime1.Sec = 60; this.ucTime1.timer1.Start(); #endregion } }