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

VS 2010 Disposing forms

$
0
0
Hi,

I have two forms. First one is main form and second is like user control holder form.

from my first form i am calling second form by

dim fm as new sec_form
fm.showdialog()
fm.dispose

but if i add any values in user control that is in sec form, even after closing and again clicking button and opening it, it shows same! values are not removed. values in some controls stays even after closing... i know it sounds silly. but i am stuck.. any help would be great!

Viewing all articles
Browse latest Browse all 27223

Trending Articles



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