Windows Develop Bookmark and Share   
 index > Windows Forms General > Windows Custom Controls
 

Windows Custom Controls

When you drag a custom control onto the form, VS.NET automatically calls the default constructor, however my custom control has more than one constructor.  

Is it possible to specify which constructor is called by VS.NET when a custom control is dragged onto the form?




cheers!
MigrationUser 1  Thursday, January 30, 2003 11:32 PM
Unfortunately, I don't think so . . .The designer only calls the parameterless constructor.
MigrationUser 1  Friday, January 31, 2003 10:10 AM
Yes, the designer only calls the parameterless constructor.
MigrationUser 1  Saturday, February 01, 2003 5:04 PM

You can use google to search for other answers

Custom Search

More Threads

• Force a Click onto Another Control?
• Create SQL Logins Using C#.net
• Applying access mask to DataGridView in c#
• FTP?
• How do I keep textbox text NOT highlighted?
• OnClosing
• Brick wall reached...assistance needed
• how to find the active form
• Error Creating Handle
• Datagridview tab control