Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form clone
Message
De
08/08/2005 10:49:56
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Conception classe
Titre:
Form clone
Divers
Thread ID:
01039313
Message ID:
01039313
Vues:
51
I want to make an exact duplicate of a form, in order to make minor changes later.

So far, I have fruitlessly tried:

1) Save as, then add the duplicate to the project. The project only shows one of the forms.

2) Make a new form, copy the entire code from the old form, and paste into the new one. The compiler gives an error message; as far as I remember, something like "the forms share the same resources".

OK, there may be better alternatives, such as deriving from a class, and any other alternative suggestions are welcome, but I still want to know whether quickly cloning a form is possible.

TIA,

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform