Exemplo n.º 1
0
        public static frmRPT_Viewer getReportForm(string sTitle, DAL.SQLReport rpt)
        {
            var frm1 = new frmRPT_Viewer();

            frm1.Text = sTitle;
            //frm1.MdiParent = ui.frmMain;
            frm1.loadReport(sTitle, rpt.ds, rpt.output);
            return(frm1);
        }
Exemplo n.º 2
0
        public static void OpenReport(string sTitle, DAL.SQLReport rpt)
        {
            var frm1 = new frmRPT_Viewer();

            frm1.Text = sTitle;
            //frm1.MdiParent = ui.frmMain;
            frm1.loadReport(sTitle, rpt.ds, rpt.output);
            frm1.Show();
        }