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 -

Jquery & Rails 3: Run controller action from js file? -

jquery - Creating xls in javascript using ActiveXObject -