| 发表于:2007-10-06 15:05:484楼 得分:0 |
使用graphics的drawimage void drawimage(image image,rectangle rectdst,float x,float y,float cx,float cy,graphicsunit.pixel); image = image.fromfile(@"c:\bmp.bmp"); rectangle rectsrc = new rectangle(50,50,100,100); rectangle rectdst = new rectangle(0,0,clientrectangle.width,clientrectangle.height); grfx.drawimage(image,rectdst,rectsrc,graphicsunit.pixel); | | |
|