protected internal ExaminationPlanVM(Action Loaded)
 {
     this.Loaded                 = Loaded;
     ExaminationPlanM            = new ExaminationPlanM();
     WordEditor                  = new WordEditor(true);
     Loading                     = new BackgroundWorker();
     Loading.DoWork             += new DoWorkEventHandler(LoadingModel);
     Loading.RunWorkerCompleted += new RunWorkerCompletedEventHandler(LoadingModelComplete);
     Loading.RunWorkerAsync();
 }
 private void LoadingModelComplete(object sender, RunWorkerCompletedEventArgs e)
 {
     if (workingConn)
     {
         foreach (object row in ExaminationPlanM.Services)
         {
             (row as ExaminationPlanM.Service).AcceptChanges();
         }
         ExaminationPlanM.AcceptChanges();
         WordEditor.ExaminationPlanStart();
         Loaded();
     }
     else
     {
         ConnectionMessage();
     }
 }