//Script.NET examples
//(c)2007-2009, Protsyk Petro, http://www.protsyk.com

f =  new Form();
f.Width = 320;
f.Height = 240;
f.Text =  'Script Demo';
f.Show();


g = Graphics.FromHwnd(f.Handle);
for (i = 0; i<10; i++)
g.DrawRectangle(Pens.Red,
                new Rectangle(10+i*10 , 10+i*10, 
                              290-i*20, 180-i*20 ) );
System.Threading.Thread.Sleep(1500);
        