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 / Visual Studio.NET / IDE / November 2005

Tip: Looking for answers? Try searching our database.

How Visual studio differentiates between controls and components

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ramesh - 16 Nov 2005 22:03 GMT
I like to know how VS.NET differentiates controls from components ?. How does
it know when to add a control/component to designer surface or component try ?
Any response is appreciated

Thanks,
Rammy
Carlos J. Quintero [VB MVP] - 18 Nov 2005 09:55 GMT
Hi Rammy,

One way to do it is getting the Designer attribute of the component. If it
is a System.Windows.Form.Design.ControlDesigner class (System.Design
assembly), which derives from ComponentDesigner, it is a control. Otherwise
it is a component.

Signature

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com

>I like to know how VS.NET differentiates controls from components ?. How
>does
[quoted text clipped - 4 lines]
> Thanks,
> Rammy
Ramesh - 29 Nov 2005 20:37 GMT
Thank you for your reply. I would like to know if Visual Studio does the same
thing.

> Hi Rammy,
>
[quoted text clipped - 11 lines]
> > Thanks,
> > Rammy
Carlos J. Quintero [VB MVP] - 30 Nov 2005 08:57 GMT
Yes, it does, for example in the Document Outline feature of VS 2005.

Signature

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com

> Thank you for your reply. I would like to know if Visual Studio does the
> same
> thing.

Rate this thread:







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.