In the constructor for your 2nd form (the bit at the top that is the same as the file name
i.e.
you need to allow it to accept an argument/variable.
so it would need changed to
- public frmMyForm(string _yourVariable)
then when you create the form in your first form you should pass it in
- frmMyForm newForm = new frmMyForm(strVariable)
then it will be passed into your new form