This should work if you develop Windows Forms app with C++:

//some code here
using namespace System::Drawing;
//some code here


public: System::Void...