Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing a Class instead of a Form Reference?
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00808596
Message ID:
00808664
Vues:
24
I solved my problem in a different way:

public abstract class baseLookupForm
{
public abstract void OpenEditForm();

public void btnModify_Clicked(...)
{
this.OpenEditForm();
}

}


public class CodeLookupForm : baseLookupForm
{
private override void OpenEditForm()
{
CodeEditForm oCode = new CodeEditForm();
oCode.ShowDialog();
}
}
Stephen Lee

--------------------------------
Too much to code
Too little time
--------------------------------
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform