Joined
Last Seen
-3 Reputation Points
- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
0% Quality Score
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 2
- Posts with Downvotes
- 1
- Downvoting Members
- 2
0 Endorsements
Ranked #31.8K
~426 People Reached
Favorite Forums
Hello, I'm having a problem with animating a bitmap on my form. There is a massive flickering when animating the bitmap. Is there anything I can do about this? Bitmap bmp = new Bitmap(@"1.png"); aTimer.Interval =1; aTimer.Tick += new EventHandler(t_Tick); aTimer.Start(); public void t_Tick(object sender, EventArgs e){ gfx.DrawImage(bmp,new Point(x,y+1)); y … |
|
|
|
do { Console.Write(" <jaar 1582 - 2500>..."); } while(!int.TryParse(Console.ReadLine(), out jaar) && jaar < 1582); Why doesn't this work in C#? you can't test a integeren in a do while when there's a tryparse apperently whats the best way of doing this? Thank you for your time. |