private void backgroundWorker2_DoWork(object sender, DoWorkEventArgs e) { //Process process = new Process(); //process.StartInfo.FileName = "RiskAppUtils.exe"; //process.StartInfo.Arguments = "PrintDocuments " + proband.apptid.ToString(); //process.Start(); //process.WaitForExit(); PrintDocumentsForm pf = new PrintDocumentsForm(); RiskAppCore.Globals.setApptID(proband.apptid); pf.ShowDialog(); }
private void backgroundWorker2_DoWork(object sender, DoWorkEventArgs e) { //Process process = new Process(); //process.StartInfo.FileName = "RiskAppUtils.exe"; //process.StartInfo.Arguments = "PrintDocuments " + proband.apptid.ToString(); //process.Start(); //process.WaitForExit(); PrintDocumentsForm pf = new PrintDocumentsForm(); RiskAppCore.Globals.setApptID(proband.apptid); pf.ShowDialog(); }