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

[vb2012] Data erazed when form is hide.

$
0
0
Hi guys,

I have some forms in my program , One major - when button1 is clicked it opens form 2 and hide major form,
after push calc button in form 2 , it enter the results into major form and keep them in form2,
and so on after click on button 2 it opens form 3 and hide major form after push button calc in this form it enters the results in form3 and keep them also in form3,
and so I have some more forms.
with the major form after I run form2 and made the calc it shows a button named "show" in major form so I can click on it and it will show form2 with the data I enter , and the calc.
but it shows the form without any results or data , like I run it the first time.

by the way I use a modul to store all the data in it.

I use only hide and show for not loosing the data I have just enter after first run.

what should I do for showing the forms with data .

thanks in advance.

Viewing all articles
Browse latest Browse all 27154

Trending Articles



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