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

jQuery Ajax Render Fragments OR Whole Page -

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

java - Simple Command Line calculator -