The compiler have problems with your using namespace's. First it show you that ComponentModel is not a part of System and that there is not a namespace with that name. The other errors are similar to this error. So forget the namespace's and write your code without them. The other possibility is that you try to change your namespaces. But you can use using namespace System; , because it accept it.
Edit: Ironically it accepts using namespace System::IO; too
Edit²: Try this:
Code:
using System::ComponentModel;
using System::Collections;
using System::Windows::Forms;
using System::Data;
using System::Drawing;
using System::IO;
Without using namespace System; ! But I am sure that this wouldn't work.