J
John
How can I draw any thing within "for" loop? I tried the
below but it doesn't draw anything. What should I do?
****
Code
****
Graphics g = this.CreateGraphics();
Bitmap bm=new Bitmap(1,1);
bm.SetPixel(0,0,Color.Black);
for (i=1;i==2;i++)
{
g.DrawImageUnscaled(bm,500,500);
}
below but it doesn't draw anything. What should I do?
****
Code
****
Graphics g = this.CreateGraphics();
Bitmap bm=new Bitmap(1,1);
bm.SetPixel(0,0,Color.Black);
for (i=1;i==2;i++)
{
g.DrawImageUnscaled(bm,500,500);
}