Bitmap bit=new Bitmap(1000,1000);//绘图一般画在位图上Graphics g=Graphics.FromImage(bit);g.FillRectangle(Brushs.Red,new Rectangle(0,0,1000,1000));//这句实现填充矩形的功能其他还有很多,GDI+ 都是基于Graphics进行绘画的
网上搜索一下GDI绘图 主要是GDI