Hey im trying to load a draw a bitmap. But I don't know how to get the System.Windows.Form.PaintEventArgs?
Anyone know what im doing wrong?Code:private void Draw_Ball() { Image ball = new Bitmap("c:\\source\\c#\\bounce\\ball.bmp"); Graphics g = e.Graphics; g.DrawImage( ball, new RectangleF(10, 10, ball.Width, ball.Height) ); }
Thanks


Reply With Quote
