Esempio n. 1
0
 /// <summary>
 /// 打印控件按钮进行控制
 /// </summary>
 private void SetMainToopStripFalse()
 {
     XDesigner.Report.XPrintControlExt.ControlButtons butts = xPrint.Buttons;
     butts.MainToolStrip.Visible   = true;
     butts.cmdExport.Visible       = false;
     butts.cmdRefresh.Visible      = false;
     butts.lblVersion2.Visible     = false;
     butts.btnPageSettings.Visible = false;
     butts.cmdJumpPrint.Visible    = true;
     butts.cmdPrint.Visible        = true;
 }
Esempio n. 2
0
        /// <summary>
        /// xll 20130820 新版传染病打印界面
        /// </summary>
        /// <param name="reportId"></param>
        /// <param name="reportTypeId"></param>
        public PrintFormExt(string reportId, string reportTypeId)
        {
            try
            {
                m_reportId   = reportId;
                m_reportType = reportTypeId;
                InitializeComponent();

                XDesigner.Report.XPrintControlExt.ControlButtons butts = xPrint.Buttons;
                butts.MainToolStrip.Visible   = true;
                butts.cmdExport.Visible       = false;
                butts.cmdRefresh.Visible      = false;
                butts.lblVersion2.Visible     = false;
                butts.btnPageSettings.Visible = false;
                butts.cmdJumpPrint.Visible    = true;
                butts.cmdPrint.Visible        = true;
            }
            catch (Exception ex)
            {
                throw ex;
            }
            // InitDate();
        }