Beispiel #1
0
 private void DeletedStatus()
 {
     count++;
     //Check if accounts, openquestions and useranswers have been removed
     if (count == 3)
     {
         if (removed)
         {
             //If everything is succesfully removed show succes
             SuccesDialogView view = new SuccesDialogView();
             view.Text = "Succes";
             view.getLabelSucces().Text = "Verwijderen gegevens voltooid! U kunt nu het programma afsluiten.";
             view.ShowDialog();
         }
         else
         {
             //If everything is succesfully removed show fail
             FailedDialogView view = new FailedDialogView();
             view.Text = "Foutmelding";
             view.getLabelFailed().Text = "Oeps! Er is iets misgegaan! Probeer het opnieuw!";
             view.ShowDialog();
         }
         count = 0;
         removed = true;
     }
 }
 public void ShowSaveSucceed()
 {
     SuccesDialogView succes = new SuccesDialogView();
     succes.getLabelSucces().Text = "De e-mails zijn succesvol verzonden.";
     succes.ShowDialog();
 }
 public void ShowSaveSucceed()
 {
     SuccesDialogView succes = new SuccesDialogView();
     succes.getLabelSucces().Text = "Antwoord is succesvol opgeslagen.";
     succes.ShowDialog();
 }