/*---Time 3---*/ private void Timer_3_Tick(object sender, EventArgs e) { pic_car_v2.Location = new Point(pic_car_v2.Location.X, pic_car_v2.Location.Y + 10); if (pic_car_v2.Location.Y > 340) { Timer_3.Stop(); done = true; } }
/*---Time 2---*/ private void Timer_2_Tick(object sender, EventArgs e) // 284 184 84 -6 { pic_car_v2.Location = new Point(pic_car_v2.Location.X, pic_car_v2.Location.Y - 10); if (pic_car_v2.Location.Y < 284) { pic_car_v2.Image = new Bitmap(Application.StartupPath + "\\picture\\123.png"); Set_in(txt_vitri.Text); Timer_2.Stop(); Timer_3.Start(); } }