Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / Design Time / March 2005

Tip: Looking for answers? Try searching our database.

Dialog Component

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nice Chap - 22 Mar 2005 11:22 GMT
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 ?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.