Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Child Form does Clear last changes Why?
Message
 
À
29/06/2007 00:10:28
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
01236413
Message ID:
01236799
Vues:
11
Bonnie:

You are absolutely right. But the reason I used ShowDialog if because I dont want the form to open and the code that I have after that being executed. What I need from you is tell me how I kill that form that the next time I call the form does not retain the previous values and the size changed. Without changed the line to .show().
Here is the code,
Private Sub Add_btn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Add_btn.Click
        DepartmentADD.ShowDialog()

    End Sub
Something that you need to explain, "You can get around this by either re-instantiating the Form" I call that method everytime I press the add button. That's not the same as re-instantiating the form?
Gregorio J. Placeres
IT Analyst
Uniform Accounting Network
Auditor of State of Ohio
88 East Broad Street
P.O. Box 1140
Columbus, Ohio 43216-1140

Tel. 614-728-4694

Gregorio_J@MSN.COM

http://www.gjpproductions.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform