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

Popular posts from this blog

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

objective c - Newbie question -multiple parameters -