private void btnPrint_Click(object sender, EventArgs e) { com.digitalwave.GLS_WS.clsCtl_Base cls = new com.digitalwave.GLS_WS.clsCtl_Base(); string Hospitalname = new com.digitalwave.iCare.common.clsCommmonInfo().m_strGetHospitalTitle(); cls.m_mthPrintPreviewFromDataGridView(dataGridView, 0, Hospitalname + "门诊手术报告单汇总表"); cls = null; }
private void btnPrint_Click(object sender, EventArgs e) { com.digitalwave.iCare.common.clsCommmonInfo cls = new com.digitalwave.iCare.common.clsCommmonInfo(); string strTitle = cls.m_strGetHospitalTitle() + "门诊手术申请单信息查询报表"; com.digitalwave.GLS_WS.clsCtl_Base objBase = new com.digitalwave.GLS_WS.clsCtl_Base(); objBase.m_mthPrintPreviewFromDataGridView(dataGridView, 0, strTitle); }
/// <summary> /// 初始化 /// </summary> public void m_mthInit() { for (int i = 0; i < m_objViewer.outlookBar.Bands.Count; i++) { if (m_objViewer.outlookBar.Bands[i].ChildControl != null) { m_objViewer.outlookBar.Bands[i].ChildControl.Parent = m_objViewer.outlookBar; } } for (int i = m_objViewer.outlookBar.Bands.Count - 1; i >= 0; i--) { m_objViewer.outlookBar.CurrentBand = i; } string Hospitalname = new com.digitalwave.iCare.common.clsCommmonInfo().m_strGetHospitalTitle(); this.m_objViewer.lblAppTitle.Text = Hospitalname + "门诊手术申请单"; this.m_objViewer.lblRepTitle.Text = Hospitalname + "门诊手术记录单"; m_mthSelectBill(0); clsCtl_OPSApply objCls = new clsCtl_OPSApply(); objCls.m_mthSetTextBoxControlsBackColor(new Control[] { this.m_objViewer.txtRepOPSName, this.m_objViewer.txtRepDiagbegin, this.m_objViewer.txtRepDiagend, this.m_objViewer.txtRepMaindoctor, this.m_objViewer.txtRepAssidoctor, this.m_objViewer.txtRepMedtool, this.m_objViewer.txtRepAnadoctor, this.m_objViewer.txtRepOPSStepandResult, this.m_objViewer.txtRepDoctor, this.m_objViewer.txtRepSigndate }); }
public clsCtl_RptContractUnitPayType() { objSvc = new clsDcl_ReportZY(); com.digitalwave.iCare.common.clsCommmonInfo objCommonInfo = new com.digitalwave.iCare.common.clsCommmonInfo(); strHospitalName = objCommonInfo.m_strGetHospitalTitle(); }