Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Newbie class creation question
Message
De
21/07/2004 11:37:43
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
À
21/07/2004 11:07:06
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00926521
Message ID:
00926581
Vues:
20
Hi Steve,

Thanks for the suggestion...it's almost as easy as VFP but not quite there (yet) :)

Mike


>Mike,
>
>One option is to design it visually, on a form, and copy/paste the block of code out of the InitializeComponent() method of the form into your class definition. Find/Replace to get rid of this.textBox1, and your just about there...
>
>>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
Fil
Voir

Click here to load this message in the networking platform