Re: CustomControls

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Christian schrieb:

Oder gibt es da doch eine Möglichkeit, Custom Controls mit dem Designer vom Visual Studio zu erstellen?

auf jeden Fall!
Mit Stock-Controls zu arbeiten ist zwar nicht mehr so schlimm wie früher in anderen Entwicklungsumgebungen, weil VS umfangreiche Überarbeitungsmethoden (refactoring) anbietet.

Dennoch sollte möglichst viel mit Custom classes gearbeitet werden.

Du kannst - z.B. - ein Projekt vom Typ "WindowsControl Library" erstellen und dort mehrere Komponenten zusammenbacken.

Deine Custom Control kannst du auch in die Toolbox packen, am besten unter einen eigenen Ordner.
.



Relevant Pages

  • Re: Persistent Data Objects architecture
    ... > custom classes to represent my business entities. ... classes or typed datasets) straight from database schemas. ... I guess the same is true if I use custom classes. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Role based security objects
    ... custom classes that implemented the IIdentity and IPrincipal interfaces. ... > some information about the WindowsIdentity, WindowsPrincipal, ... > GenericIdentity and GenericPrincipal but nothing about the custom objects. ...
    (microsoft.public.dotnet.security)