Example #1
0
 void ShowBlockingDialog(string path, BackgroundWorker worker)
 {
     using (FormPPSave blockingForm = new FormPPSave(worker))
     {
         blockingForm.Text = "Saving " + Path.GetFileName(path) + "...";
         if (blockingForm.ShowDialog() == DialogResult.OK)
         {
             Report.ReportLog("Finished saving to " + saveFileDialog1.FileName);
         }
     }
 }
Example #2
0
 void ShowBlockingDialog(string path, BackgroundWorker worker)
 {
     using (FormPPSave blockingForm = new FormPPSave(worker))
     {
         blockingForm.Text = "Saving " + Path.GetFileName(path) + "...";
         if (blockingForm.ShowDialog() == DialogResult.OK)
         {
             Report.ReportLog("Finished saving to " + saveFileDialog1.FileName);
         }
     }
 }