예제 #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
파일: ListFamily.cs 프로젝트: hkouns/bvcms
 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);
 }