Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27443

[RESOLVED] Close / Hide / Dispose A Form Issue

$
0
0
Hello all

I have a little issue.

I have two forms in my app (Form1 & Form2)
when the button to show form2 is clicked and form2 is loaded an operation is performed.
if form2 is closed/hide and then reopend I want the "form_load" function to execute but this does not seem to be the case.

I tried this

(from form2)

Form1.show()
me.dispose

but this throws and exception on the windows PC.

All I want to do is have form2 refreshed/reloaded anytime it is called?

Help?

Viewing all articles
Browse latest Browse all 27443

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>