How to use one form object on another form?

Posted by Rock_Monu under C# on 3/11/2013 | Points: 10 | Views : 1049 | Status : [Member] | Replies : 4
How to use one form object on another form in window application .Plz reply?




Responses

Posted by: Jayakumars on: 3/11/2013 [Member] [MVP] Bronze | Points: 25

Up
0
Down
hi

Form2 frm2 = new Form2();
frm2.Show();

Mark as Answer if its helpful to you

Rock_Monu, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sakthi.Singaravel on: 3/11/2013 [Member] Silver | Points: 25

Up
0
Down
Form1 obj = new Form1();

String temp = obj.Varible_name;


Regards,
Singaravel M

Rock_Monu, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Rock_Monu on: 3/11/2013 [Member] Starter | Points: 25

Up
0
Down
this solution onle we can open other form..bt i have A datagridview and now i want click a cell click event of view buttton then a registraion windows form open and data is retrieve on registration page .so plz sir this is my requirement.

thank's

Rock_Monu, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Rock_Monu on: 3/11/2013 [Member] Starter | Points: 25

Up
0
Down
this solution onle we can open other form..bt i have A datagridview and now i want click a cell click event of view buttton then a registraion windows form open and data is retrieve on registration page .so plz sir this is my requirement.

thank's

Rock_Monu, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response