C++ GUI: Create Simple WinForms App in 30 Seconds! | Sciber

preview_player
Показать описание
I created a project template for creating a Simple WinForms Project in Visual Studio (a fairly easy task to do, but didn't occur to me to start off the series with this) and released it to the Visual Studio Marketplace for you to download and use yourself!

Here's how to install and create the project and get started with WinForms in C++!

Please leave any issues and bugs with other versions like VS17 or 19 because I only tested this on 2022.

Leave your ideas in the comments section below!

Рекомендации по теме
Комментарии
Автор

Hi guys, recently I found a problem related to this project template thanks to your comments, the issue was that when we use this and use project resources, it starts giving exceptions. The workaround is to go all the way up to the namespace in MyForm.h and change $safeprojectname$ to your project name. Do this inside MyForm.cpp as well.

Then it works!

wearesciber
Автор

what a beautiful bird singing in the background at 1.53 man ^_^

arkanrb
Автор

Hi, for me has just worked. I had to correct verson VS from 2019 to 2022, that's all. Thank You very much

SergioTavazzi
Автор

Ah yes, the sudden urge to make a GUI app at Sherlock Holmes' location

aditya_asundi
Автор

When I try to open the Header File I get the error “The designed could not be shown for this file because none of these classes within it can be designed. The designer inspected the following classes in the file: MyForm —- The base class ‘System.Windows.Forms.Form’ could not be loaded. Ensure the assembly has been referenced and that all projects have been built”. Any help is appreciated!

awesomepizza
Автор

Hey, how do you do OOp with GUI, how do I create classes or add header files

nikhielsingh
Автор

My visual studio designer giving error even though following all the steps
It tell that move your class code to first class in the file

ajaymendade
Автор

Create ui with round corners and round min _close button with c++ I will be waiting

KAZAIKD
Автор

i have got 143 installed, will this work with that?

alsyedofficial