John Baird
Coatesville, Pennsylvanie, États-Unis
DOH... I wanted to say that and forgot to add it .... LOL
>Mike,
>
>John is correct, although I'd like to elaborate on his answer. The "simple" controls have to be subclassed with code. By "simple", I mean things like Buttons, TextBoxes, ComboBoxes, etc. You can sub-class more complex things, like Forms and other container-type UserControls visually.
>
>~~Bonnie
>
>
>
>>Hi,
>>
>>I have a VFP background and I'm dipping my toes into the C# world and have immediately stumbled :)
>>
>>I am accustomed to designing my base classes visually. For example, I subclass a native VFP button by dropping one on a form in the form designer, set the button's properties for Font, ForeColor, BackColor, Flat, etc. then save the button as a class. The button class is now available for drag and drop to other form. Simple and easy for me.
>>
>>How do I go about doing this (or somthing like it) in the C# .NET IDE? I can't seem to find a way to do the class design visually.
>>
>>
>>TIA
>>
>>
>>Mike
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement