I had the exact same problem, except mine didnt crash. I looked at everything I did and I think it is just a bug when your work with forms and DLL. I attempted it again in a new project and it didnt happen that time. Basically copy all the coding and trash the project. Make a new one but be careful with the settings.