C++ GUI: Modern Sign in Form Design (FULL) | WinForms
Вставка
- Опубліковано 4 жов 2024
- In this video, I will show you the process of making a beautiful sign-in form in Visual Studio and how to implement placeholder texts, checkboxes, and much more!
I edited this video as much as possible to reduce the length of the video to make it less boring. However, all facts are still available in the video and the video is very engaging. But this video is not recommended for absolute beginners. So, before watching this video please watch the previous videos of the series to get a basic understanding and knowledge of how various UI elements work. Otherwise, the video will be too fast and hard to catch up with.
Here is the Basics Playlist: • C++ GUI With Visual St...
If you don't know how to create a C++ CLR WinForms Project in Visual Studio: • C++ GUI: Install C++ C...
Download Visual Studio Community Edition Here (FREE/OFFICIAL): visualstudio.m...
First I design the UI inside a design program like Photoshop and then export the required assets and use them to reconstruct the UI in Visual Studio. I used C++ CLR to code the UI elements' functionality and here we are using the .NET Framework via C# interoperability.
Making GUI apps in C++ is quite tedious but thanks to the interoperability with C# inside Visual Studio this has become a little bit easier.
The code used inside the MyForm.cpp file is available as a pinned comment in the comments section because YT doesn't allow angle brackets inside the description, sorry for that.
Or you can view it anytime by going here: sciber.web.app...
Leave your ideas in the comments section below!
Facebook: (PAGE) sciber.web.app/fb
(GROUP) / programmingsrilanka
Instagram: sciber.web.app/ig
Visit Us : sciber.web.app
Really Beautiful Form ❤️
Hi Watson, Sherlock is here! 😎😂💔
😂✌️
Greate work. Can you please create videos on "Using webview2" in C++? Can we create a dll that uses webview2 alongwith with HTML lements events responding to the desktop app?
make a video about how to open a new application when signed in.
How to make a TextBox's background color transparent? When I wrote textBox1->BackColor = System::Drawing::Transparent;, it didn't work. Also, when I tried to change the BackgroundImage, its properties were absent.
Code inside the MyForm.cpp file (Change "MyProject" to the name of your project):
#include "MyForm.h"
using namespace System;
using namespace System::Windows::Forms;
[STAThreadAttribute]
void main(array^ args) {
Application::EnableVisualStyles();
Application::SetCompatibleTextRenderingDefault(false);
MyProject::MyForm form;
Application::Run(% form);
}
Or View this code anytime by going to sciber.web.app/main.cpp
how to coppy all component except Username and Password ?
hello i follow your tutorials and they really help alot to understand c++ much better they make c++ much easier thanks alot you have helped alot of beginners. i would like to request for a video tutorial on how to create a c++ Gui windows app where a user can register himself/herself and his/her details are stored in database (localhost) and after registration the users can login. this will help beginners understand how to link c++ app with database and also understand how c++ application can interact with an online database. kindly consider my request thanks.
this is a good suggestion. I'll try this when I get the chance. (stuck with exams sad.)
@@wearesciber okay thanks
I get the Error: "Class "System::Windows::Forms::MessageBox""has no member""OK"".
What can I do?
i think your syntax is wrong check the video again
Great
Hi, i have a problem. when i upload the image in the first panel, it doesn't compile. It throws me an excepetion error. Why is that and how can i solve it? c:
Can you tell me the error
Hi bro, an you teach us how to convert the c++ winforms file into a cross plaform application that can run on apple computers, Thanks.
WinForms is for Windows. However, you can use Mono. But there are better ways to do this. Use Xamarin if you really want to build cross platform apps using C#. WinForms is for RAD for Windows.
make C# videos also
OK I will, the reason I paused that was I thought people might not be interested in that topic because there are C# vids already out there. But now I will.
@@wearesciber thank you
Hi, do u know the way to call a function? like when user clicks a button, and it will trigger a function
yes watch my other videos, basically you create an event handler. to do this you can double click on the button and then the event handler will be created and then you can write the code to be run in that function.
@@wearesciber thank you for the reply,
well, when I asked this question, I had different thoughts, but now I see what you mean.
Also, please make a video on the algorithm part. that will be helpful.
Thanks for covering this rare topic
2:47 "before we start ..."
what
@@wearesciber nothing, i was saving that as a timestamp for myself
Haha 😂
Use FILES I/O in this application. It will be more sense.
I'm sorry, I didn't understand your suggestion, could you rephrase it.
Could you make a video on File Streams. Reading from a file and searching username and password in a file.
I noticed that keywords are different in c++ GUI.
Hi, do you face any difficulties running windows 10 apps on windows 11? Can u run them with the same degree of smoothness?
So far yes, I can run almost every app smoothly. But I've encountered some graphics bugs while using Photoshop. But other apps are stable according to my experience.
@@wearesciber what about virtual machines?
I havent tried 😕
I don't have the toolbox, can you help me?
Go to View->Toolbox from the Menu.
Or search for Toolbox in the search box on the top right of Visual Studio's title bar
@@wearesciber he tells me this:
General
There are no usable
controls in this group.
Drag an item onto this
text to add it to the
toolbox.
hmm, I think your installation is broken. can you please try installing again using this video: ua-cam.com/video/HcxlYkU8aY0/v-deo.html
Link
can u share the content plz
which content
Background colors