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

КОМЕНТАРІ • 44

  • @Seventro7
    @Seventro7 3 роки тому +5

    Really Beautiful Form ❤️

  • @TechnoSoftlk
    @TechnoSoftlk 3 роки тому +3

    Hi Watson, Sherlock is here! 😎😂💔

  • @imranbhatti8580
    @imranbhatti8580 2 роки тому +2

    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?

  • @Tayy0
    @Tayy0 2 роки тому +1

    make a video about how to open a new application when signed in.

  • @jakhongirmakhmudov38
    @jakhongirmakhmudov38 Рік тому +1

    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.

  • @wearesciber
    @wearesciber  3 роки тому +3

    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

  • @tusanh-q7d
    @tusanh-q7d 6 місяців тому

    how to coppy all component except Username and Password ?

  • @dwayne5001
    @dwayne5001 2 роки тому

    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.

    • @wearesciber
      @wearesciber  2 роки тому +1

      this is a good suggestion. I'll try this when I get the chance. (stuck with exams sad.)

    • @dwayne5001
      @dwayne5001 2 роки тому

      @@wearesciber okay thanks

  • @ap0llo719
    @ap0llo719 2 роки тому

    I get the Error: "Class "System::Windows::Forms::MessageBox""has no member""OK"".
    What can I do?

    • @wearesciber
      @wearesciber  2 роки тому

      i think your syntax is wrong check the video again

  • @Karimovlazizbek
    @Karimovlazizbek Рік тому

    Great

  • @m3LuChAn
    @m3LuChAn Рік тому

    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:

  • @vdofficialchannel9841
    @vdofficialchannel9841 2 роки тому

    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.

    • @wearesciber
      @wearesciber  2 роки тому +1

      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.

  • @waqaarahsab
    @waqaarahsab 3 роки тому +1

    make C# videos also

    • @wearesciber
      @wearesciber  3 роки тому +1

      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.

    • @waqaarahsab
      @waqaarahsab 3 роки тому

      @@wearesciber thank you

  • @nahiansharif4200
    @nahiansharif4200 2 роки тому

    Hi, do u know the way to call a function? like when user clicks a button, and it will trigger a function

    • @wearesciber
      @wearesciber  2 роки тому +1

      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.

    • @nahiansharif4200
      @nahiansharif4200 2 роки тому

      @@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

  • @yash1152
    @yash1152 2 роки тому +1

    2:47 "before we start ..."

    • @wearesciber
      @wearesciber  2 роки тому

      what

    • @yash1152
      @yash1152 2 роки тому

      @@wearesciber nothing, i was saving that as a timestamp for myself

    • @wearesciber
      @wearesciber  2 роки тому

      Haha 😂

  • @RakeshSangem
    @RakeshSangem 2 роки тому +1

    Use FILES I/O in this application. It will be more sense.

    • @wearesciber
      @wearesciber  2 роки тому +1

      I'm sorry, I didn't understand your suggestion, could you rephrase it.

    • @RakeshSangem
      @RakeshSangem 2 роки тому +1

      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.

  • @aditya_asundi
    @aditya_asundi 3 роки тому

    Hi, do you face any difficulties running windows 10 apps on windows 11? Can u run them with the same degree of smoothness?

    • @wearesciber
      @wearesciber  3 роки тому

      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.

    • @aditya_asundi
      @aditya_asundi 3 роки тому

      @@wearesciber what about virtual machines?

    • @wearesciber
      @wearesciber  3 роки тому

      I havent tried 😕

  • @francescodelprete5388
    @francescodelprete5388 2 роки тому

    I don't have the toolbox, can you help me?

    • @wearesciber
      @wearesciber  2 роки тому

      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

    • @francescodelprete5388
      @francescodelprete5388 2 роки тому

      @@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.

    • @wearesciber
      @wearesciber  2 роки тому

      hmm, I think your installation is broken. can you please try installing again using this video: ua-cam.com/video/HcxlYkU8aY0/v-deo.html

  • @almubaeasisdev7713
    @almubaeasisdev7713 3 роки тому

    Link

  • @abdulHadiarbi
    @abdulHadiarbi 2 роки тому

    can u share the content plz