Загрузка страницы

How to add a form in Visual Studio 2017 C++

I will try to paste the code in the comments section since this stupid YouTube crap wont let me paste code into this window.
This video shows you how to add a form to a C++ program (CLI type) in Visual Studio 2017 since they have NO OPTION that I can see by doing this with the menus... trying to steer us to C# no doubt.
On below listing, just replace the 2 'B' with left and right 'less than and greater than' signs since YT wont let me paste those in this message...

using namespace System;
using namespace System::Windows::Forms;

[STAThreadAttribute]
int main(array B String^ B ^ args) {
Application::EnableVisualStyles();
Application::SetCompatibleTextRenderingDefault(false);
CEMPTYCLRProject1::MyForm form;
Application::Run(%form);
return 0;
}

Видео How to add a form in Visual Studio 2017 C++ канала Bert Bronson
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
9 июня 2017 г. 22:53:12
00:05:42
Яндекс.Метрика