Muhammad younas

Muhammad younas

  • NA
  • 169
  • 475.3k

Call function from another form

Oct 3 2014 4:03 AM
i have a 2 winforms say form1 and form2.
I have a gridview and  some textboxes on form2. form2 contains a function to populate datagridview and fill textboxes.
 
i want to call this functin of form2 from form1.
 
i am creating an object of form2 from form1 and passing parametrs to function on form2.  
when i debug the code using breakpoints , that function on form2 is running but it is not updating datagridview and textboxes.
 
can anyone help me ? 

Answers (3)