|
-
Feb 5th, 2011, 03:52 AM
#1
Thread Starter
Addicted Member
Deefault properties and design for button 1
hey all
i've designed mac buttons in vb.net but each project i change the design,propeties and events
is there a way to make this design,properties and events the default for any new project.
Thanks in advance
-
Feb 5th, 2011, 04:01 AM
#2
Re: Deefault properties and design for button 1
I don't really understand what you mean by "change". Perhaps you could provide a clearer explanation of what you mean.
That said, the most appropriate course of action would be to create a Windows Forms Control Library project and add your custom controls to that. You can then add your custom controls to the VS Toolbox and add them to any form in any project, just like any other control. When you do, a reference to your assembly will automatically be added to the current project. Whenever you update the source project, the Toolbox item will be updated and you can just rebuild any existing projects to update them to the new version.
-
Feb 5th, 2011, 05:25 AM
#3
Thread Starter
Addicted Member
Re: Deefault properties and design for button 1
how to create windows form control library in vs 2010 express
Thanks in advance
-
Feb 5th, 2011, 05:56 AM
#4
Re: Deefault properties and design for button 1
I'm not 100% sure that VB Express includes the Windows Forms Control Library project template. If not, the alternatives are:
1. Create a Windows Forms Application project and then change 'Application type' in the project properties from Windows Forms Application to Class Library.
2. Create a Class Library project and then add a reference to the System.Windows.Forms.dll assembly and, if needed, System.Drawing.dll too.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|