示例#1
0
        public void PreviewPCI(int pciID)
        {
            FPreviewAR         pv   = new FPreviewAR();
            rprtPCIInformation rprt = new rprtPCIInformation();
            CBPCIInfo          info = new CBPCIInfo();


            info.Load(pciID);

            rprt.SetInformation(info);

            pv.ViewReport(rprt);
            pv.ShowDialog();
        }
示例#2
0
        public void PreviewPCI_New(string projNumber, int pciID) // *************************** Added 6/25/15
        {
            FPreviewAR         pv   = new FPreviewAR();
            rprtPCIInformation rprt = new rprtPCIInformation();
            CBPCIInfo          info = new CBPCIInfo();

            //CBBudget bud = new CBBudget();
            //CBProject proj = new CBProject();
            //bud.Load(budID);
            //proj.Load(bud.ProjectID);


            info.Load(pciID);

            rprt.SetInformation(info);

            pv.projNumber = projNumber;

            // MessageBox.Show(pv.projNumber);

            pv.ViewReport(rprt);
            pv.ShowDialog();
        }