Please... help... in file is complete project . please..help..i need this so fast.. i need managed to make windows forms..
before this project i made a small project and all was ok.. and now.. help

First, you created the wrong kind of project. You created a win32 console application instead of an empty CLR project. After creating a new empty CLR project copy the *.cpp and *.h files into the project directory then add them to the IDE. After that the compiler will not give you a lot of grief over the use of the ref keyword.