Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>I have a form (FormA) and in the init of FormA it fires off another form (FormB). The init method of FormB calls a method in a class which is placed on FormB. I am getting an error that it cannot find the method in the class which is on the FormB.
Can you post more actual code? I don't think it should have any trouble because the formns haven't intialized yet. Also, if FormB shows up before FormA, why not fire up FormB first anyway, and have that call FormA?
>Can I create a method that gets called after the forms completely initialize?
Show() gets called after they intialize.
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