public static void Doit(Graphics g) { for (int n = 0; n < 5; n++) { Rectangle rc = new Rectangle(0, 0, 400, 30); using (IGraphics gr = new Win32GraphicsFactory().CreateGraphics(g)) { Recurse(0, gr, rc); } } }
public static void Doit(Graphics g) { for ( int n=0; n< 5; n++ ) { Rectangle rc=new Rectangle(0, 0, 400, 30); using ( IGraphics gr=new Win32GraphicsFactory().CreateGraphics(g) ) { Recurse(0, gr, rc); } } }