How to build C# GUI apps with Visual Studio? (FREE, FAST & EASY)
HTML-код
- Опубликовано: 6 июн 2024
- In this easy tutorial you will learn how to build GUI applications with Visual Studio 2022. I'll help you to build your first GUI app with C#, and you'll see example of a simple practical app that you can build fast.
This programming tutorial is a step-by-step beginner friendly explanation of how to build practical user interface applications for free in an easy way.
If you want to get more experience in building real apps, and learn how to solve real problems, please join my Practical Programming Course below.
🚀📈💻🔥 My Practical Programming Course: www.codebeautyacademy.com/
Experience the power of practical learning, gain career-ready skills, and start building real applications!
This is a step-by-step course designed to take you from beginner to expert in no time!
💰 Here is a coupon to save 10% on your first payment (CODEBEAUTY_YT10).
Use it quickly, because it will be available for a limited time.
📚 Learn how to solve problems and build projects with these Free E-Books ⬇️
C++ Lambdas e-book - free download here: bit.ly/freeCppE-Book
Entire Object-Pascal step-by-step guide - free download here: bit.ly/FreeObjectPascalEbook
☕ If you've found my content helpful and would like to support me, you now have the option to buy me a coffee or a cookie! It's a small gesture of gratitude that means a lot to me and helps me keep creating free educational videos for you. ❤️😇
Use the link to make a contribution: bit.ly/CodeBeauty_BuyMeACoffee
Related videos:
Learn to Code and Earn Money 💸 in Just 3 Months - • Learn to Code and Earn...
CONTENTS:
00:00 - Showing you the app that we'll build
03:35 - How to create app project
05:50 - How to create app GUI
13:39 - What are events and event handlers
15:50 - What is default event
17:03 - Most common errors that beginners make
23:41 - Why and when to use global variables
25:59 - Implementing app functionality
32:28 - Fixing bugs in our app
Add me on:
Instagram 📸 - / truecodebeauty
Twitter 🐦- / truecodebeauty - Наука
🚀📈💻🔥 My Practical Programming Course: www.codebeautyacademy.com/
Experience the power of practical learning, gain career-ready skills, and start building real applications! This is a step-by-step course designed to take you from beginner to expert in no time!💰Use this coupon to save 10% on your first payment (CODEBEAUTY_YT10).
Use it quickly, because it will be available for a limited time.
📚 Learn programming with these Free E-Books ⬇
C++ Lambdas e-book - free download here: bit.ly/freeCppE-Book
Entire Object-Pascal step-by-step guide - free download here: bit.ly/FreeObjectPascalEbook
Why are you touching your tatas?
@@Sturziii STOOOOOP
This looks like C#
Why not cover C++ Qt?
@@MatrixOfDynamism 🤣🤣🤣🤣
the best c# gui tutorial i have seen yet in youtube
Thanks 🥰
been waiting for this
I'm happy to help.
Thanks for this wonderful tutorial : )
you are very welcome
you are giving best explanations of all instructors on youtube, thank you
always good to hear that, thank you :D
this will be good one, ty saldina
Happy to hear that!
great job as always :)
Thanks again!
Thank you for all that you do. ❤😊
Very very good tutorial, as a second year computer science student I can say that I have learned more from watching your tutorials than I have from any software development lecturer. Thanks for sharing. 🤠
I'm glad to hear that, and if you are Windows PC user or have any chance of getting your hands on a Windows PC for 2-3 months, join my practical programming course. I promise it will take you light years ahead of your peers, and it will be the best decision you made for your future as a software engineer. 🤠🤠
It's a very useful video. I added a line in my CV after watching it.
First time for trying C#. Rather enjoyed it and will continue to study C# along with C++. Thanks for the tutorial on this.
Same for me 👍
best tutor on youtube!
thank you, thank you..enjoy it
You very good in teaching ... i see leasons that you provid at RUclips .. thanks
thank you for this :)
thank you for watching :)
it's always a good day when you post a new video :)
Happy to hear that! :D
Thanks for this. I'm taking a C# class right now, so I'd love to see more GUI tutorials using Winforms.
I chose C# is because of its incredible versatility. Learning it will not only give you solid problem-solving skills but also a deep understanding of programming principles that you can apply across all other languages throughout your entire career. It's like building a strong foundation for endless possibilities.
If you are learning C# now, then the best decision you can make is to join my practical programming course, it will take you light years ahead of your peers. :D
Thank you from Egypt ♥️
hi code beauty, could you make a tutorial about move constructor? thanks a lot for your teaching videos.
Thank you very much. You awesome
You're welcome 😊
great one 👍👍👍
thanks 👍👍👍
Your videos are so captivating that I can't help but watch them, even in 144p! But when I increase the quality, I start falling in love with you 😍
Looking gorgeous as always❤
Thank you 😊
you reply to everyone ❤️ tq
Very interesting a Win Form tutorial in C#
Can you do SFML tutorial or series ? Any interest in that kind of things?
This guy makes my hobby adaptive to c++
The blue code you wearing is good
Thank you 😊
What's your take on the different frameworks VS provides for Windows apps? (WinForms vs WPF vs MAUI vs UWP...) it's confusing when starting out!
WinForms is relatively straightforward and has been around for a while, making it well-documented and supported. On the other hand, it is limited when it comes to creating more beautiful designs and modern-looking applications.
I personally worked in WPF for years, and it offers more advanced features like data binding, styling, and templating, but it's more complex and that can be daunting and hard to learn for beginners.
Starting with WinForms can be great for beginners. It's easy to create basic interfaces by just dragging and dropping elements like buttons, text boxes, list boxes, grids... This frees up time to focus on learning problem-solving skills. Later, when you're ready, you can easily switch to learning how to make beautiful interfaces with XAML or HTML. That shouldn't be hard! There is a reason why there are a million memes saying that HTML is NOT a programming language. :D
UWP is designed to create apps that run on Windows 10 devices, Windows 10 mobile, Xbox, and MAUI (multi-platform app UI) is designed to be a cross-platform framework for building apps for Windows, Android, iOS, and macOS.
I think MAUI is still in development, and in my experience UWP and MAUI are harder for beginners especially because they are newer and there is limited documentation and support compared to more established frameworks like WinForms and WPF.
Hey, I love your videos! I am a red teamer, I'm looking to automate parts of my job involving the creation of custom implants. I thought about developing a GUI for a packer, and your content seems like the perfect guide. However, I encountered an issue accessing the link to your academy. Could you please check it or provide an updated link? Thanks!
Saldina please my question is after the programming course maybe 3months we won't need any internship or whatsoever to start working in any tech company... and also is lecturers on data structures a d algorithms in the practical course??
Absolutely, three months can indeed provide a solid foundation to kickstart your journey into the programming world, especially if you're dedicated and consistent in your studies. However, remember that in this industry you have to continue learning constantly to stay relevant. For that you have me :D. I'm here to support you along the way! As for data structures and algorithms, I'm currently preparing a RUclips video on that topic, which will be released in a few weeks. In our course, we primarily focus on practical examples and honing problem-solving skills essential for software development.
Nice tutorial, could you also do something similar using C++ instead of C#?
Here is the easiest way to build GUI apps with C++: ruclips.net/video/FxQTXyR4mjs/видео.html
First of all: your an excellent teacher.
But as a few others already "complained", you should have sticked to C++ instead of C#.
Many (me too) watched your incredible 10 hour C++ tutorial.
But it´s your channel, and your rules.
Good luck with your courses, Saldina.
which coding language is used throughout your practical programming course??
It’s wonderful and all, thanks a lot but releasing the course in c# and now this video in c# too, it’s sad seeing this amazing channel deviate away from c++ so rapidly. Anyway teaching still perfect thank a lot
The reason I chose C# is because of its incredible versatility. Learning it will not only give you solid problem-solving skills but also a deep understanding of programming principles that you can apply across all other languages throughout your entire career. It's like building a strong foundation for endless possibilities.
The course has already started, it attracted many individuals transitioning from other languages (predominantly from my channel and the C++ community), and their shift to C# has been remarkably smooth.
can you do one for c++ in visual studio?
// Very Nice Tutorial
good job. I am from Bangladesh.
Thank you 🇧🇩 💚
Grazie Saldina
Prego 🥰
Plz make a playlist of JavaScript or TypeScript
Why are we going to be using C# instead of using C++?😢
C# is more straightforward when it comes to building GUI applications, but the point is to learn to think as a developer, so in time, it will not make much difference which programming language we are using. However, there will be plenty more videos for C++ too, no worries :D
Why not ImGui ?
simple reason, default vanilla controls are easier for beginners to use and understand :)
Code Beauty previously used the Community Edition of C++ Builder to build a GUI application, if you’re partial to C++ 😊
I like your videos. 2 hours long... Not a problem for me. I have them running in the background while I work.
hahahaha, but you're not going to learn programming if you don't practice and code along with me :D
@CodeBeauty I listen and learn, then think, how could I use it? while I'm working. A sub process. It's a multithreaded approach. Haha
@@jamesharrison7350 that's good, 80% of programming happens in the head, and only 20% on the keyboard 💡😁
@@CodeBeauty intelligent learning. You don't have to know everything. You just have to know where to go to get the info. :)
😻
😽😽
Is this in C++?
This is C#, but both are very similar languages 😄
It's pity the course it's not in C++, which i think everyone expected after subscribing to your channel to learn more about this language.
Moreover, it's not clear to me how the course's structure might help one land a job.
For a skillset to be transferable it's required to relentlessly work on building many projects. Does the course provides the solution to many projects that can add a practical value to the CV? Because that's what companies look at. They don't look at whether or not one followed through an online course.
They look one's portfolio. And only domain-knowledge is not enough.
I think answering this question is also a good starting point for you to prepare the course, Saldina. Because your teaching abilities are out of doubt.
What's questionable, instead, is the course's deliverables, so to say.
As someone who has frequently been on the interviewer side of job interviews, I can tell you that the approach to evaluating junior and experienced software developers varies significantly. For junior developers, the focus is on understanding the types of projects they've worked on, their knowledge of various technologies, programming languages, specific concepts in order to get a better idea of their fundamentals in programming.
However, for experienced developers, the conversation shifts towards more complex problem-solving scenarios.
They are often asked about their strategies for monitoring and optimizing application performance, how they ensure scalability of the app for future growth, resource management to enhance app speed and efficiency. We talk about their experience with specific design patterns or SOLID principles, ask them to justify the choice of a particular architecture for a project, how they would design a system to address certain problems, security concerns, etc.
Working on numerous small projects will not expose you to many of these complex issues. Personally, I've been compensated very generously for designing solutions to challenging problems that others were hesitant to address. This reluctance often stemmed from a limited exposure to a series of smaller-scale projects, which, while diverse, did not result in a deep understanding of more intricate programming principles. Consequently, there was a tendency to avoid engaging with these larger issues due to a fear of making the problem worse, a fear rooted in a lack of deep comprehensive programming knowledge.
There is a significant demand in the industry for professionals who can solve deep-rooted issues in applications that have been causing inefficiencies and financial losses for years.
If you've solved these problems in one programming language, transitioning to another language often becomes easier than adapting to a new team. This course is not about building a multitude of simple applications like to-do lists, calculators, weather apps, blogs, or basic chatbots. These projects are easy to complete and offer a sense of achievement to beginners, but they rarely present the opportunity to tackle more profound challenges in software development.
The aim of this course is to impart a deep understanding of programming. It's not about creating numerous simple projects; it's about diving into the complexities of software development. While I've created many free videos on RUclips covering basic concepts, and watched a bunch of tutorials myself, I've noticed that most tutorials lack in-depth, practical programming knowledge - which is exactly what this course offers.
The course has already started, it attracted many individuals transitioning from other languages (predominantly from my channel and the C++ community), and their shift to C# has been remarkably smooth. The reason I chose C# is because of its incredible versatility. Learning it will not only give you solid problem-solving skills but also a deep understanding of programming principles that you can apply across all other languages throughout your entire career. It's like building a strong foundation for endless possibilities.
Even though I said that the course is designed for Windows PC users, we've also seen a number of Mac users joining, some even opting to buy Windows PC or find an alternate solutions just to participate and follow the course, because it offers a profound understaing of programming.
Due to the unexpected number of participants, my availability for RUclips has become limited, as my focus is now on supporting those enrolled in the course. This is why I'm unable to respond to all comments on RUclips. However, I felt your question was very insightful and deserved a detailed response.
@@CodeBeauty Hi Saldina thanks for the nice, articulated explanation.
There are a couple of points that deserve attention. I know you cannot reply back and you cannot write dozens of comments don't worry.
1) "It's not about creating numerous simple projects; it's about diving into the complexities of software development"
Can't you see how vague is this statement? Seen through the point of view of someone who's not looking for intellectual curiosity, this statement is a bit enigmatic.
It's a bit difficult to measure how much the investment may play a role in finding a job.
Maybe it would be more appropriate to say the course is a great way to begin the journey as a software developer and that, as such, additional courses and even books will have to be followed through and studied before entering the job market? I leave it as an open question.
2) From a learning standpoint, working on multiple projects goes a long way toward enhancing retention, which is at the very foundation of expertise.
I personally love the way you explain technical issues. I already program in C++, but i don't know C#. It might be a good starting point to extend my current knowledge. I will think about it. After all, Mac users can develop in C# through VS Code.
Have a nice day 👍🏻
Good How To Do It With C++ ??
The easiest way is this:
ruclips.net/video/FxQTXyR4mjs/видео.html
@@CodeBeauty Thanks Is it possible with visual studio??
in the era of WPF, Uno, Avalonia and MAUI you are showing Win Form to create UI and even better is Godot to create APPs
WinForms is relatively straightforward and has been around for a while, making it well-documented and supported. On the other hand, it is limited when it comes to creating more beautiful designs and modern-looking applications.
I personally worked in WPF for years, and it offers more advanced features like data binding, styling, and templating, but it's more complex and that can be daunting and harder to learn for beginners.
Starting with WinForms can be great for beginners! It's easy to create basic interfaces by just dragging and dropping elements like buttons and text boxes. This frees up time to focus on learning problem-solving skills. Later, when you're ready, you can easily switch to learning how to make beautiful interfaces with XAML or HTML.
Regarding UWP and MAUI, UWP is designed to create apps that run on Windows 10 devices, Windows 10 mobile, Xbox, and MAUI (multi-platform app UI) is designed to be a cross-platform framework for building apps for Windows, Android, iOS, and macOS.
I believe MAUI is still in development, and in my experience UWP and MAUI are harder for beginners because, there is limited documentation and support compared to more established frameworks like WinForms and WPF.
@@CodeBeauty Uno and Avalonia are great and its just that ms couldnt standardize one framework to create windows app like swift ui for apple. Ms is always creating and throwing away frameworks for windows
0:44 In Russia, utility bills can be paid later, in a month or two, without penalties. But it's not appreciated))))
Why you suddenly use C# to make a GUI? No reason given in this video , can you not use C++ like you do normally?
wht a babe
Thanks for the compliment! 😊
NETSDK 1004 error
It can occur due to various reasons such as incorrect SDK configurations, missing dependencies, or issues with the project setup.
To resolve the NETSDK 1004 error you need to investigate the specific details provided along with the error message to identify the root cause.
@@CodeBeauty
Error NETSDK1004 Assets file 'C:\Users
ikol\source
epos\probaa\probaa\obj\project.assets.json' not found. Run a NuGet package restore to generate this file. i tried to run restore command in nuGet terminal but didnt work, there is not any helpful solutions on web
You are so beautiful
Please, don't wear these clothes
Does that mean I should layer up with more clothes or go for the no-clothes look? It's a bit confusing for me atm 🤔😁
I see honey talking ❤👀
Do you get tired while talking in English ? 😂
VS is rubbish. It's as slow as a tortoise.
I gave up on VS many years ago. Way too resource hungry.
Hey Bro Update CPU To A Faster Model + Have At Least 12 GB Ram Along With Latest Microsoft OS@@JoeyBlogs007
point is to make it easy and free for beginners, for that purpose VS is completely fine
to much time goes to promotion now, boring...
Visual Studio is dead
What makes you think that?
It has feature-rich environment, strong performance, strong community, supports a wide range of programming languages, you can get all of this for free in Community version...
Mister Hater, if you're itching to spread some negativity, I'm afraid this isn't the place for your sour grapes. Constructive criticism or a compelling argument are the only currencies we accept here, so please sharpen your wit next time. 😁
hello i am happy about your story as a software engineer and i see your explanations are pretty straight forward and easy to understand not like other tutorials , im trying to change my career from professional chef to become a software engineer and its because of many things in life like money ,and freedom maybe and work life balanced, also because of my future wife (girlfriend) pushed me to be better and find a job that is rewarding moneywise ,i am looking forward to enroll in your course as i see you have a lot of experience and practical examples to teach instead of all theory and that is crucial now for searching for a job as a software engineer
It’s wonderful and all, thanks a lot but releasing the course in c# and now this video in c# too, it’s sad seeing this amazing channel deviate away from c++ so rapidly. Anyway teaching still perfect thank a lot
The reason I chose C# is because of its incredible versatility. Learning it will not only give you solid problem-solving skills but also a deep understanding of programming principles that you can apply across all other languages throughout your entire career. It's like building a strong foundation for endless possibilities.
The course has already started, it attracted many individuals transitioning from other languages (predominantly from my channel and the C++ community), and their shift to C# has been remarkably smooth.