Can I make a custom form to act like a dialog component (something like
FileOpenDialog)?
I have set the following attributes to my form without any success:
<ToolboxItem(True), Designer(GetType(ComponentDesigner))> _
Public Class MyDialogComponent
When I drop the dialog component onto a form, I cannot see the component in
the component tray (little area below the form designer) and neither am I
able to set properties on the dialog component in the properties winodw (
this may be becasue I cannot see the component in the first place).
What am I missing please ?
joeycalisay - 29 Mar 2005 07:45 GMT
Have you tried to look at the abstract ComponentDialog of the baseform. The
secret is that the class should be a component, inheriting from Component or
implementing IComponent. Try to download Reflector and browse the framework
implementation.

Signature
Joey Calisay
http://spaces.msn.com/members/joeycalisay/
> Can I make a custom form to act like a dialog component (something like
> FileOpenDialog)?
[quoted text clipped - 11 lines]
>
> What am I missing please ?