c# - How to maintain state across forms in windows forms application -


the main form 'a' has link brings on form 'b' user can use fill in multiple values.

now on closing of form 'b' user can go main form 'a' select other criteria , click on link bring form 'b'. form 'b' should hold entered values , allow user add more values.

ultimately, once user done, nee entered values in form 'b' accesile form 'a' , want do.

for achieving having static field on 'b' form. know isn't right static property remain in memory after close form. suggestions how right?

make public properties on form b hold value need. form able access these properties via reference form b.


Comments

Popular posts from this blog

jQuery Mobile app not scrolling in Firefox -

c++ - How to add Crypto++ library to Qt project -

php array slice every 2th rule -