The members of the class are the interface components. The line public ref class MyForm : public System::Windows::Forms::Form defines a derived class named MyForm.
To VS compiler, it means only open this file once during the compilation.Īlso, as explained it before, the System namespace gives us functions to deal with UI controls. Public ref class MyForm : public System::Windows::Forms::Form