Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Child Form does Clear last changes Why?
Message
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
01236413
Message ID:
01236799
Views:
12
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform