hello, i created a form which has buttons and textfields in it. And i have another .cpp and .h files which i added to resource and header part of the project. I want to use methods in those files in my buttonpressed methods. but i have problems,

1)When i didn't write #include "myfile.h" compiler can't see the global methods in the .h file.
2)When i include the .h file, it gives redefinition error.

how should i use those methods? Should i c/p them into the form.h ?

thanksalot