|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
class and component classWhats the difference between a class and a component class , they seem to
have identical structures, but different icons ? and when would I use a component class over a a class ? Thanks "Jon Vaughan" <jonnyvaug***@hotmail.com> schrieb: Component classes inherit from 'System.ComponentModel.Component'. They can > Whats the difference between a class and a component class , they seem to > have identical structures, but different icons ? > and when would I use a component class over a a class ? be placed on forms, for example and are shown in the component tray at design time. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Show quote
Hide quote
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message An example of a component would be the OpenFileDialog and SaveFileDialog. news:eDG53xO4GHA.2596@TK2MSFTNGP06.phx.gbl... > "Jon Vaughan" <jonnyvaug***@hotmail.com> schrieb: >> Whats the difference between a class and a component class , they seem to >> have identical structures, but different icons ? >> and when would I use a component class over a a class ? > > Component classes inherit from 'System.ComponentModel.Component'. They > can be placed on forms, for example and are shown in the component tray at > design time. > > -- > M S Herfried K. Wagner > M V P <URL:http://dotnet.mvps.org/> > V B <URL:http://dotnet.mvps.org/dotnet/faqs/> Both of these, as far as I can remember, are components. They are associated with a form, but are not a user-interactable control located on the parent form. HTH, Mythran When selecting a simple dist enterprise template , the data tier has a
default class that is a component class , why would this be ? is you arent going to drop it on a form ? Show quoteHide quote "Mythran" <kip_pot***@hotmail.com> wrote in message news:%23vDkw7P4GHA.3444@TK2MSFTNGP02.phx.gbl... > > "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message > news:eDG53xO4GHA.2596@TK2MSFTNGP06.phx.gbl... >> "Jon Vaughan" <jonnyvaug***@hotmail.com> schrieb: >>> Whats the difference between a class and a component class , they seem >>> to have identical structures, but different icons ? >>> and when would I use a component class over a a class ? >> >> Component classes inherit from 'System.ComponentModel.Component'. They >> can be placed on forms, for example and are shown in the component tray >> at design time. >> >> -- >> M S Herfried K. Wagner >> M V P <URL:http://dotnet.mvps.org/> >> V B <URL:http://dotnet.mvps.org/dotnet/faqs/> > > An example of a component would be the OpenFileDialog and SaveFileDialog. > Both of these, as far as I can remember, are components. They are > associated with a form, but are not a user-interactable control located on > the parent form. > > HTH, > Mythran > > "Jon Vaughan" <jonnyvaug***@hotmail.com> schrieb: If it's shown in the designer's component tray, then yes, it's a component > When selecting a simple dist enterprise template , the data tier has a > default class that is a component class , why would this be ? is you arent > going to drop it on a form ? class. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Copy Directory
Windows Service, timer doesn't tick Can forms in different projects reference one another? Transparent attribute for labels VB Guru please explain me how this can work ? split container Help with some research Rendering Vector Images VB.NET 2005 WebClient file download via HTTPS Q: sum of column |
|||||||||||||||||||||||