Tips and Tricks for developing a plugin in Visual Studio 2005 .NET: Difference between revisions

From wiki.jriver.com
Jump to navigation Jump to search
Line 8: Line 8:
- Set 'Autosize' Property to 'False'<br>
- Set 'Autosize' Property to 'False'<br>


Your Panel will now automatically be resized to fit into the MC Plugin Area. Anything you put upon the Panel can scale to the size of the Panel using the 'Anchor' Property. Never use the 'Autosize' Property!
Your Panel will now automatically be resized to fit into the MC Plugin Area. Anything you put upon the Panel can scale to the size of the Panel using the 'Anchor' or 'Dock' Properties. Don't use the 'Autosize' Property!

Revision as of 12:12, 8 April 2007

Create a new plugin

Use the description of Mr ChriZ to create a new Plugin. http://yabb.jriver.com/interact/index.php?topic=32294.0

Autoresizing of plugin

Draw a Panel upon the UserControl and do the following:
- Set 'Dock' Property to 'Fill'.
- Set 'Autosize' Property to 'False'

Your Panel will now automatically be resized to fit into the MC Plugin Area. Anything you put upon the Panel can scale to the size of the Panel using the 'Anchor' or 'Dock' Properties. Don't use the 'Autosize' Property!