示例#1
0
 private void PrintingCompleted(object sender, RunWorkerCompletedEventArgs e)
 {
     PleaseWaitForm.Hide();
     PleaseWaitForm.Dispose();
     PleaseWaitForm   = null;
     Program.FamilyId = 0;
     classlist        = new List <ClassInfo>();
     PrintAll.Text    = string.Empty;
     if (Program.AskLabels)
     {
         var f   = new DidItWork();
         var ret = f.ShowDialog();
         f.Hide();
         f.Dispose();
         if (ret == DialogResult.No)
         {
             Util.ReportPrinterProblem();
             var fa = new AdminLogin();
             fa.ShowDialog();
         }
     }
     this.GoHome(string.Empty);
 }
示例#2
0
 private void PrintingCompleted(object sender, RunWorkerCompletedEventArgs e)
 {
     PleaseWaitForm.Hide();
     PleaseWaitForm.Dispose();
     PleaseWaitForm = null;
     Program.FamilyId = 0;
     classlist = new List<ClassInfo>();
     PrintAll.Text = string.Empty;
     if (Program.AskLabels)
     {
         var f = new DidItWork();
         var ret = f.ShowDialog();
         f.Hide();
         f.Dispose();
         if (ret == DialogResult.No)
         {
             Util.ReportPrinterProblem();
             var fa = new AdminLogin();
             fa.ShowDialog();
         }
     }
     this.GoHome(string.Empty);
 }