Y
yo_mismo
Hi,
I send a parameter from a Form (Form1) to an other form (Form2):
Form2 frm2 = new Form2();
frm2.number_frm2 = number_frm1;
frm2.Show();
The problem i got is that the variable 'number_frm2' always have the value 0
(it's an integer). I have declared it as 'public' but i can't get the right
value. I hope someone can help me, thanks.
I send a parameter from a Form (Form1) to an other form (Form2):
Form2 frm2 = new Form2();
frm2.number_frm2 = number_frm1;
frm2.Show();
The problem i got is that the variable 'number_frm2' always have the value 0
(it's an integer). I have declared it as 'public' but i can't get the right
value. I hope someone can help me, thanks.