Exemplo n.º 1
0
 public DialogResult ShowDialog(RepDoc repDoc)
 {
     rpt                   = repDoc;
     this.Text            += " - " + rpt.SummaryInfo.ReportTitle;
     this.crv.ReportSource = rpt;
     return(base.ShowDialog());
 }
Exemplo n.º 2
0
        public RepPreview(string ReportSource, string SelectionFormula)
        {
            ReportSourceFileName = ReportSource;
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            //
            // TODO: Add any constructor code after InitializeComponent call
            //
            rpt = new RepDoc(ReportSource, SelectionFormula);
        }