private void tlbbPrint_Click(object sender, C1.Win.C1Command.ClickEventArgs e) { CPBudget prnt = new CPBudget(); prnt.PreviewPCNLog(txtClient.Text, txtProjName.Text, txtHGANumber.Text, txtClientNumber.Text, txtProjectManager.Text, mdsPCNLogs); //prnt.PreviewPCNLog_New(txtHGANumber.Text, txtClient.Text, txtProjName.Text, txtHGANumber.Text, txtClientNumber.Text, txtProjectManager.Text, mdsPCNLogs); //************ Added 6/29/15 }
private void tlbbPrint_Click(object sender, C1.Win.C1Command.ClickEventArgs e) { if (IsValidPCI() == true) { CPBudget pbud = new CPBudget(); LoadScreenToObject(); moPci.Save(); tlbbSave.Enabled = false; // pbud.PreviewPCI(moPci.ID); // string pn = moProj.Number; //MessageBox.Show(proj.Number); // MessageBox.Show(projectNumber); pbud.PreviewPCI_New(projectNumber, moPci.ID); if (OnPCIChanged != null) { OnPCIChanged(moPci.ID, "Printed"); } } }
private void tlbbPrint_Click(object sender, C1.Win.C1Command.ClickEventArgs e) { SaveCurrentPCN(); tlbbSave.Enabled = false; string projNumber = moProj.Number; string pcnNumber = moPCN.PCNNumber; CPBudget pBud = new CPBudget(); // pBud.PreviewPCN(moPCN.ID); pBud.PreviewPCN_New(projNumber, pcnNumber, moPCN.ID); }