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

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -

java - Digest auth with Spring Security using javaconfig -