C++ windows form

Hello to everyone.
I have a project in visual studio 2010 with some forms.
In the .cpp file of every form I've defined the function in this way:
1
2
3
void name_project::name_form::name_function() {
code..
}

and i've put the prototypes in the .h file of the form
1
2
 
void name_function() 


My question is: I want to use a function defined in a form in another form..I tryed with :: with no result..
Can anyone help me?
Thank you!
you need an instance of name_form in order to access the function plus the function has to be public.
Topic archived. No new replies allowed.