c# - Graphics.FillRectangle() didn't work -
graphics gp = graphics.fromhwnd(p2ppic.handle); solidbrush sb = new solidbrush(color.dodgerblue); lock (gppalette) { gpp.fillrectangle(sb, arectangle); }
p2ppic
picturebox
object in c#; these main code ,and code run, did not take effect can tell me why?
depends have placed code. picturebox own painting.
Comments
Post a Comment