private void timer1_Tick(object sender, EventArgs e)
 {
     pb_movingCat1.Location = new Point(pb_movingCat1.Location.X, pb_movingCat1.Location.Y - 1);
     pb_movingCat2.Location = new Point(pb_movingCat2.Location.X - 1, pb_movingCat2.Location.Y);
     if (pb_movingCat1.Location.Y == 10)
     {
         pb_movingCat1.Location = new Point(pb_movingCat1.Location.X, 500);
     }
     if (pb_movingCat2.Location.X == 40)
     {
         pb_movingCat2.Location = new Point(225, pb_movingCat2.Location.Y);
     }
     if (IsInTouch(pb_movingMouse, pb_movingCat1) || IsInTouch(pb_movingMouse, pb_movingCat2) ||
         IsInTouch(pb_movingMouse, stapica1) || IsInTouch(pb_movingMouse, stapica2) ||
         IsInTouch(pb_movingMouse, stapica3))
     {
         pb_movingMouse.Location = new Point(132, 520);
         countLives = countLives - 1;
         if (countLives == 0)
         {
             this.Hide();
             loserForm = new YouLost_Form();
             loserForm.Show();
         }
     }
 }
 private void timer1_Tick(object sender, EventArgs e)
 {
     label6.Text            = countLives.ToString();
     pb_movingCat1.Location = new Point(pb_movingCat1.Location.X, pb_movingCat1.Location.Y - 1);
     pb_movingCat2.Location = new Point(pb_movingCat2.Location.X - 1, pb_movingCat2.Location.Y);
     if (pb_movingCat1.Location.Y == 10)
     {
         pb_movingCat1.Location = new Point(pb_movingCat1.Location.X, 500);
     }
     if (pb_movingCat2.Location.X == 40)
     {
         pb_movingCat2.Location = new Point(225, pb_movingCat2.Location.Y);
     }
     if (IsInTouch(pb_movingMouse, pb_movingCat1) || IsInTouch(pb_movingMouse, pb_movingCat2) ||
         IsInTouch(pb_movingMouse, stapica1) || IsInTouch(pb_movingMouse, stapica2) ||
         IsInTouch(pb_movingMouse, stapica3))
     {
         pb_movingMouse.Location = new Point(132, 520);
         countLives = countLives - 1;
         if (countLives == 0)
         {
             this.Hide();
             loserForm = new YouLost_Form();
             loserForm.Show();
         }
     }
     stapica1.Location = new Point(stapica1.Location.X + 1, stapica1.Location.Y);
     stapica2.Location = new Point(stapica2.Location.X + 1, stapica2.Location.Y);
     stapica3.Location = new Point(stapica3.Location.X - 1, stapica3.Location.Y);
     if (stapica1.Location.X == 225)
     {
         stapica1.Location = new Point(40, stapica1.Location.Y);
     }
     if (stapica3.Location.X == 40)
     {
         stapica3.Location = new Point(225, stapica3.Location.Y);
     }
     if (stapica2.Location.X == 225)
     {
         stapica2.Location = new Point(40, stapica2.Location.Y);
     }
     fire.Location = new Point(fire.Location.X, fire.Location.Y + 1);
     if (fire.Location.Y == 102)
     {
         fire.Location = new Point(fire.Location.X, 35);
     }
 }