Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create New Base Control Class From Control on Form
Message
De
15/09/2008 14:54:07
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01347729
Message ID:
01347732
Vues:
12
>>I have a custom base textbox. I put it on a winform and then I modified properties and added some code to events. I want to take this control from the form and make a separate new base textbox. Is there any easy way to do that?
>
>In VFP this would be very easy :)
>
>I'm curious how to do this in .NET.
>
>Can you take the code from Form's Designer and move it to a class? Though may be there is a visual way.

I can do a lot of cutting and pasting, and manually setting the props, but I'm hoping to avoid that if possible...
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform