We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How do I make my custom dialog droppable in the design surface like a component?

Thread ID:




3692 Apr 2,2003 05:24 AM Windows Forms 0
Tags: FAQ
W@ndERR ®
Asked On April 2, 2003 05:24 AM

I read this in Windows Forms FAQ and made as described. But when I rebuild my project custom dialog name was changed into class name of custom dialog. Like this: // I have some UserControl class [Designer(typeof(ComponentDesigner))] class MyControl : UserControl { ... } When I place it to my form I recieve some myControl1 variable but after rebuild I recieve new variable MyControl and old variable become unassigned. P.S. Sorry for my English ;)


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.