winforms - C# FORMS, Rezising a picturebox at runtime -


i trying rezise picturebox @ runtime, , i've found code others have gotten work. code came this post, copy paste here well.

protected override createparams createparams { {     var cp = base.createparams;     cp.style |= 0x840000;  // turn on ws_border + ws_thickframe     return cp; } } 

according answer, have paste class, class? don't know paste picturebox resizing work, , hoping here clarify ment.

thanks


Comments