protected override void ExecItemTAG1()
        {
            base.ExecItemTAG1();
            if (!LoadBillReport())
            {
                return;
            }
            frmPubPreview frm = new frmPubPreview(Report1, this.Text, ReportFile1, "", "", false);

            frm.ShowDialog();
        }
Exemplo n.º 2
0
 protected override void ExecItemPrint()
 {
     ShowReportHeader(true);
     if (tabControl1.SelectedIndex == 0)
     {
         frmPubPreview frm = new frmPubPreview(Report, this.Text + "[" + tabPage1.Text + "]", ReportFile, "", "", false);
         frm.ShowDialog();
     }
     else
     {
         frmPubPreview frm = new frmPubPreview(Report1, this.Text + "[" + tabPage2.Text + "]", ReportFile1, "", "", false);
         frm.ShowDialog();
     }
     ShowReportHeader(false);
 }
Exemplo n.º 3
0
        protected override void ExecItemPrint()
        {
            ShowReportHeader(true);
            if (Report.ColumnByName("CheckBox") != null)
            {
                Report.ColumnByName("CheckBox").Visible = false;
            }
            frmPubPreview frm = new frmPubPreview(Report, this.Text, ReportFile, ReportTable, ReportName, DesignReport);

            frm.ShowDialog();
            if (Report.ColumnByName("CheckBox") != null)
            {
                Report.ColumnByName("CheckBox").Visible = true;
            }
            ShowReportHeader(false);
        }