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 = y+1;
Invalidate();
}
Thank you for your time.