public void SetPCI(int pciID) { moPci = new CBPCIInfo(); moPci.Load(pciID); LoadObjectToScreen(); tlbbSave.Enabled = false; }
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(); }
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(); }