Fixes a bug with multible Forms on WinForms.
Merge pull request #184 from pcdummy/develop

Fixes a bug with multible Forms on WinForms.