public void Quit()
 {
     isQuit = true;
     otherMessagesPass.SetKill();
     standardMessagePass.SetKill();
     if (form.Created)
     {
         form.Close();
     }
     if (otherForm.Created)
     {
         otherForm.Close();
     }
     this.Close();
 }
 public void Quit()
 {
     isQuit = true;
     otherMessagesPass.SetKill();
     standardMessagePass.SetKill();
     ImageAnimator.StopAnimate(animationImage, new EventHandler(this.AnimateStep));
     if (form.Created)
     {
         form.Close();
     }
     if (otherForm.Created)
     {
         otherForm.Close();
     }
     this.Close();
 }