Variabels

I have two forms and one of them have a label, soo i need pass the information in that label to the other form, how can i do that

Answer this question

Variabels

  • Ertekin

    The fisrt form will ask the value, soo then i need put it on a class and get it in the second form.

    How can i do it

  • Rafael Rivera

    setup a Public Property on the second form and set it from the first form before you actually show the second form
  • KerryK

    you could put the value in a public shared variable in some class.

    you could pass it through the constructor when you load up your new form.

    you could set the value on a public property on your new form.

    etc

  • Variabels