All pastes #146578 Raw Edit

Stuff

public text v1 · immutable
#146578 ·published 2006-08-23 18:28 UTC
rendered paste body
            Graphics g = pe.Graphics;
            Rectangle rect = new Rectangle(5, 5, 400, 400);
            Pen p1 = new Pen(Color.Gold);
            p1.Alignment = PenAlignment.Right;
            Brush b1 = new SolidBrush(Color.Gold);
            g.DrawRectangle(p1, rect);            
            g.FillRectangle(b1, rect);
            System.Threading.Thread.Sleep(3000);
            rect.X = 200;
            rect.Y = 200;