vendredi 13 mars 2015

How can I pass values between several forms (c#)?

I want to pass values from five forms to one Form (c#). How can I do it?


I have five forms: Form,Form2,Form3,Form4,Form5


Form1 contains one button and textbox1. When I click on that button, Form2 should pass values in textbox1 to Form5 and Form2 should be open.And in Form 2 I have same elements like in Form1.Also values from should be passed to Form5.


How can i do it? Can somebody help me to do this with a simple example.


Thanks in advance Akezhan


Aucun commentaire:

Enregistrer un commentaire