How to Create Login Form in C# 2020

Поделиться
HTML-код
  • Опубликовано: 2 июн 2024
  • How to Make a Modern Login Form in C# or material design application in c# window form?
    Need some ideas or a simple design to make a Login Form in C#.
    This clean design will even work with your programming Projects or Assignments.
    This tutorial is suitable for beginners and advanced users too.
    If you are new to programming and you are using an IDE like Visual Studio to build software, This video has shown every work step by step.
    Every secured program should have a login screen to gain access to the features, so you can practice or look at how things work out in this tutorial.
    I made a simple security system for this login form, if you have a highly secured system you can implement it with your own codes.
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    Related Tags:
    login form in c# without database
    windows form application c# tutorial for beginners
    C# login
    login form in visual studio 2015
    Register form in c#
    simple login in C#
    How to Create Login Form in C#
    Login Form in C#
    Simple Login Form in C#
    c# ui design tutorial
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    You Can Download the Project Files and the Resources from Our Site Link Below 👇
    codecraks.com/blog/
    SUBSCRIBE OUR CHANNEL FOR MORE TUTORIALS
    / @codecraks
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    Support Us
    Our Website: codecraks.com/
    Email: contact@codecraks.com
    Facebook: / iweb.makers.3
    Instagram: / iwebmakers
    LinkedIn: / iewb-make. .
    If You Have Any Questions Comment us
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    Music info:
    Title: Dawn
    Artist: Sappheiros
    Genre: Calm
    "Sappheiros - Dawn" is under a Creative Commons license (CC BY 3.0)
    Music promoted by BreakingCopyright: bit.ly/2OBe00v
    #programming #iwebmakers #visualstudio #loginscreen #windowsform #UIdesign #howto #C# #codecraks
  • ХоббиХобби

Комментарии • 168

  • @dinaruns08
    @dinaruns08 3 года назад +5

    wow love this. so easy to follow! i’m a beginner but i wanted to ask , the your_username and your_password variables would be created in the sign up form, right? that’s when they would be assigned so that this “ if “ would evaluate those two?

  • @connief2679
    @connief2679 3 года назад +3

    This is an very helpful video. Beautiful Form. Thank you.

  • @NVAKAYAMINI
    @NVAKAYAMINI 2 года назад

    Very helpful

  • @NDBR
    @NDBR Год назад

    WOW VERY AMAZINH

  • @Morti62441
    @Morti62441 3 года назад +7

    Best video ever i sub to u i took me 3 hours to find a yter that is good at this!!!

  • @erkui5612
    @erkui5612 Год назад +1

    ty so much for the tips, i'll never forget it!

  • @nguyenvantuan1157
    @nguyenvantuan1157 3 года назад +2

    Best designer ! Thanks bro :))

  • @aayushijindal5101
    @aayushijindal5101 2 года назад +1

    Best video keep it up.....it was really very helpful👍👍👍

  • @otherbomb1707
    @otherbomb1707 2 года назад

    Thanks man alkready used you tutorial over 20 times, I think I can remember c# quite well due to yuo! THANK SO MUCH MAN!

  • @apposoft372
    @apposoft372 2 года назад

    Nice
    It was very helpful

  • @bombakid8666
    @bombakid8666 3 года назад +2

    Very helpful!

  • @Hostlyy
    @Hostlyy 3 года назад +14

    im creating a login form and that and everything is pretty simple the only thing that im searching for is how to link my program to my, mysql database so it can check if the person is in there.

  • @user-vi3qy9ig8g
    @user-vi3qy9ig8g 11 месяцев назад

    thank you for your video. I try to make a login page see this video. It become successes. Thank you very much & its easy to learn

  • @cebzaycs2715
    @cebzaycs2715 2 года назад +2

    how did you set ur password and username in the source code? And please make a video shows that how can we do a login application like this one with the SQL data base which will add also sign up option.

  • @madinaabbasi3837
    @madinaabbasi3837 2 года назад

    Thanks for your helpful youtube chanel🙏🏻

  • @KyleArmandCerbito
    @KyleArmandCerbito 27 дней назад

    Finally found what I needed. Thanks a lot

  • @ali_sher_nadeem
    @ali_sher_nadeem 2 года назад +1

    Thank you so much man you helped me a lot.👍

  • @zacharyschwanke7160
    @zacharyschwanke7160 Год назад

    so will this allow me to replace the anoyying windows 10/11 login screen with a custom one?

  • @jancodebeer7779
    @jancodebeer7779 2 года назад

    Thanks a mil !

  • @tomatrix7525
    @tomatrix7525 3 года назад +1

    Thanks bro love from tajikistan

  • @ProdanMihaiB-
    @ProdanMihaiB- Год назад

    Thank you, very helpful

  • @jacksetiyono6179
    @jacksetiyono6179 2 года назад

    very helpfulllll ... love much

  • @osamahmohammed1784
    @osamahmohammed1784 2 года назад

    thank you so much man you helped me a lot .

  • @cristopherhuertas2919
    @cristopherhuertas2919 Год назад

    I love you friend, thanks for your contributions

  • @tharindunanayakkara7117
    @tharindunanayakkara7117 3 года назад

    best!

  • @SusithRajitha
    @SusithRajitha 3 месяца назад

    thank you very much . Appreciate the effort you put on this .

  •  7 месяцев назад

    Thanks hugs from Brazil

  • @sadqsadq7643
    @sadqsadq7643 2 года назад

    Your channel very good😍

  • @Ryu-ky5vt
    @Ryu-ky5vt 2 года назад

    Thanks a lot bro

  • @ismail.mo77
    @ismail.mo77 Год назад

    Thanks pro million times

  •  7 месяцев назад

    Thanks hungs from Brazil :)

  • @slciz9460
    @slciz9460 2 года назад +3

    how will we add this to a SQL database or server. please help.

  • @ManodyaKalhara
    @ManodyaKalhara Год назад

    Helped a Lot

  • @FunOfAll-dg6vk
    @FunOfAll-dg6vk 2 месяца назад

    for me after running the project ... Its not look clear . everything little bit blurry . What should i do ?

  • @namilo8863
    @namilo8863 2 года назад

    Thanks

  • @GRANDBALOCH
    @GRANDBALOCH Год назад

    exp;ained well

  • @shadowthesun8209
    @shadowthesun8209 2 года назад

    thank you for the video, but how did you come up with login details if you didn't create sign up page to save them in the first place? I am working on an assignment that is Login and Register

    • @CodeCraks
      @CodeCraks  Год назад +2

      This video covers both the login and registration process.
      ruclips.net/video/IzpnHUo6iAI/видео.html

  • @ZedInd
    @ZedInd 2 года назад

    thanks

  • @OSCAR1871993
    @OSCAR1871993 4 года назад +2

    Como ayudan los colores.
    Buen video

    • @CodeCraks
      @CodeCraks  4 года назад

      quieres saber algo de mi

  • @amayaperera238
    @amayaperera238 3 года назад +3

    Very Helpful !!❤️❤️

  • @born2shlt
    @born2shlt 3 года назад

    ty

  • @iloveallahsoomuch2292
    @iloveallahsoomuch2292 5 месяцев назад

    You have this in the subscrubsion "You Can Download the Project Files and the Resources from Our Site Link Below 👇"
    But when I klik the link and download the project files that is downloadable, it has a password on the file.

  • @jkfoster7907
    @jkfoster7907 4 месяца назад +1

    The words in the recording are too small, please zoom it next time 🙏🙏

  • @Crewlietsful
    @Crewlietsful Год назад

    that dope, hey man just a thing, I started learning c# so I'm trying to figure this out
    everything just work fine, I followed every step but when I finally run it and put "demo" as a user and "1234" as a password it says that is incorrect, how did you add the user and password?

    • @CodeCraks
      @CodeCraks  Год назад

      Please watch the video carefully

    • @Crewlietsful
      @Crewlietsful Год назад

      I put my username and password on txtUserName.Text=="User" && txtpassword.Text=="password" and still getting the message "wrong username and password, try again"
      I did something wrong?
      namespace LoginScreen
      {
      public partial class Form1 : Form
      {
      public Form1()
      {
      InitializeComponent();
      }
      private void button1_Click(object sender, EventArgs e)
      {
      if (txtUserName.Text == "username" && txtpassword.Text == "password")
      {
      new Form2().Show();
      this.Hide();
      }
      else
      {
      MessageBox.Show("wrong user or password, try again");
      txtUserName.Clear();
      txtpassword.Clear();
      txtUserName.Focus();
      }
      }
      private void label2_Click(object sender, EventArgs e)
      {
      txtUserName.Clear();
      txtpassword.Clear();
      txtUserName.Focus();
      }
      private void label3_Click(object sender, EventArgs e)
      {
      Application.Exit();
      }
      }
      }

  • @solzar8795
    @solzar8795 2 года назад

    How do i make it so that it logs it in the next time we open the app

  • @zackxavierrefrea3209
    @zackxavierrefrea3209 3 месяца назад

    i get a error code Compiler Error CS5001 how to fix? i just followed your vid so idk wat im doing

  • @mohamedboughariou1146
    @mohamedboughariou1146 2 года назад

    Great Work, but i can't download your file ?

  • @BannedPyro
    @BannedPyro 2 года назад

    afther the login i make a exit but when its closed the ather windows is open

  • @pctipsgaming5385
    @pctipsgaming5385 3 года назад

    thnx

  • @dicksonTube
    @dicksonTube 3 года назад +1

    Anyone know how to make it hide what you are typing in for your password

  • @jackkrijthe1056
    @jackkrijthe1056 2 года назад

    How abot closing th app. If je close form 2, the hidden login form remains open?

    • @CodeCraks
      @CodeCraks  2 года назад +1

      No if the have a code like application.exit(); the total program will be closed

  • @yzent1492
    @yzent1492 2 месяца назад

    Your title here...
    Your tilte here...

  • @faloqo1371
    @faloqo1371 2 года назад

    how to make multiple usernames and passwords??

  • @marsto3352
    @marsto3352 2 года назад +1

    hi, the video was very good, but i wanted to know how to put several users in the login

    • @CodeCraks
      @CodeCraks  2 года назад

      Watch this out this may be useful
      ruclips.net/video/IzpnHUo6iAI/видео.html

  • @ilemt0923
    @ilemt0923 3 года назад +2

    where did your icons from?

    • @CodeCraks
      @CodeCraks  3 года назад +1

      I make them myself

    • @System-vo8kq
      @System-vo8kq 2 года назад

      @@CodeCraks Are you able to make a thing where we can dowload them?

    • @CodeCraks
      @CodeCraks  2 года назад

      Ya we are working on that you will be able to see soon enough

  • @Raulmrd
    @Raulmrd 3 года назад

    How can you do this if you continue with a project?

    • @CodeCraks
      @CodeCraks  3 года назад +1

      That's how even you have started you can continue with that

  • @christinekaythpondividaram2600

    my else statement is not working

  • @MilesHex
    @MilesHex 3 года назад +1

    When i click login it takes a long while to get to the next window

    • @CodeCraks
      @CodeCraks  3 года назад

      It might be slow because of you PC performance

    • @MilesHex
      @MilesHex 3 года назад +1

      @@CodeCraks it was because i put it in the wrong place lol

  • @hareesahd1897
    @hareesahd1897 9 месяцев назад

    Sir can you send the sorce code plz

  • @devisnugroho
    @devisnugroho 3 года назад +1

    I think the password should be in asterix..

  • @colmlivingstone5540
    @colmlivingstone5540 3 года назад

    How would you make a log in sign up form

    • @CodeCraks
      @CodeCraks  3 года назад

      I'm working on that video you will see ut soon

    • @CodeCraks
      @CodeCraks  3 года назад

      You can contact me on iwebmakers.info@gmail.com

  • @Prince-os2pw
    @Prince-os2pw 2 года назад +1

    3:35

  • @cooldude3123
    @cooldude3123 3 года назад +2

    This helped me but is there a register? :D

    • @tomatrix7525
      @tomatrix7525 3 года назад

      No, but you could create it very similarly....

  • @save_till8195
    @save_till8195 2 года назад

    Hey very cool vid but can anyone tell me how I can add more users than one or is that not possible?

    • @CodeCraks
      @CodeCraks  2 года назад

      Here it is ruclips.net/video/IzpnHUo6iAI/видео.html

    • @save_till8195
      @save_till8195 2 года назад

      @@CodeCraks Thank you so much

    • @CodeCraks
      @CodeCraks  2 года назад

      If needed you can download the project file here at Codecraks.com

    • @save_till8195
      @save_till8195 2 года назад

      @@CodeCraks I did but there is a dll which isn't showed in the vid?

    • @CodeCraks
      @CodeCraks  2 года назад

      Sorry I didn’t get that.

  • @shyfull1804
    @shyfull1804 3 года назад +1

    7:37 how did u make it do that

  • @RichDaysAwaits
    @RichDaysAwaits 4 месяца назад

    The website has been suspended please renew your hosting plan.

  • @atharvsinha8675
    @atharvsinha8675 3 года назад

    Can you make a whole tutorial on c# application ?

    • @CodeCraks
      @CodeCraks  3 года назад

      Thank you for your suggestion. I have decided to upload that kind of video in future. Subscribe us to get notified 🙂

  • @waqardahri4391
    @waqardahri4391 2 года назад

    I can't find code can anyone send me

  • @TechTutorHub2106
    @TechTutorHub2106 Год назад +1

    HOW TO create a Login page:
    ruclips.net/video/DhS6Pe1sc_M/видео.html

  • @tranvanngoan2780
    @tranvanngoan2780 2 года назад

    My main always run fisrt:((

  • @OFnoxy
    @OFnoxy 3 года назад

    Can you learn us how to make it with register? Pls

    • @CodeCraks
      @CodeCraks  3 года назад

      Ya i have already done a video about it
      Check it out

  • @tumbadokevin515
    @tumbadokevin515 3 года назад +2

    yo whats good nice video how do i add multiple usernames and passwords?

    • @CodeCraks
      @CodeCraks  3 года назад +1

      I will bring that video as soon as possible

    • @tumbadokevin515
      @tumbadokevin515 3 года назад

      @@CodeCraks I figured it out thanks tho

    • @CodeCraks
      @CodeCraks  3 года назад +1

      Watch this video for multiple user accounts ruclips.net/video/IzpnHUo6iAI/видео.html
      Here you can create several accounts and login to them

    • @tumbadokevin515
      @tumbadokevin515 3 года назад

      @@CodeCraks thanks bro👏

  • @theboss4006
    @theboss4006 3 года назад

    Why i cant click on username to type name.

    • @CodeCraks
      @CodeCraks  3 года назад

      It is possible, check the textbox there

  • @MyWatchP1
    @MyWatchP1 3 года назад

    I can not see the coding text because u did not zoom ur camera

    • @CodeCraks
      @CodeCraks  3 года назад +1

      Alright, don't worry van can download the source code of the project link in the description

  • @nottoxictim6005
    @nottoxictim6005 2 года назад

    can someone help me

  • @Bamlbo
    @Bamlbo 3 года назад +2

    Title: *2020*
    Date: *2019*

  • @johnygray2346
    @johnygray2346 3 года назад +1

    i keep getting username is null please help

    • @CodeCraks
      @CodeCraks  3 года назад

      Please take a look at the project file here sourcecodes.iwebmakers.ml
      Though you have a problem contact me on iwebmakers.info@gmail.com

  • @arushanarush8126
    @arushanarush8126 Год назад

    Bro the link is not working
    Can you please send a another link
    I want download the project

    • @CodeCraks
      @CodeCraks  Год назад

      Sure

    • @CodeCraks
      @CodeCraks  Год назад

      The Download line:
      Use "codecraks.com" as the password
      mega.nz/file/7MpxzC5S#V1V8-aH1vV-CU7jBAW0II9m5o1Hn_cqmkl7VCGJHy84

    • @arushanarush8126
      @arushanarush8126 Год назад +1

      @@CodeCraks Thankyou bro

  • @VishalSingh-xv1up
    @VishalSingh-xv1up 2 года назад

    how to test it?

    • @CodeCraks
      @CodeCraks  2 года назад

      Just debug the program

  • @BennyBagadonuts
    @BennyBagadonuts 3 года назад

    i dont have the "New project" thing

    • @CodeCraks
      @CodeCraks  3 года назад

      Sorry i don't understand

    • @wuzz5703
      @wuzz5703 3 года назад

      hey bro i can help

    • @BennyBagadonuts
      @BennyBagadonuts 3 года назад

      @@wuzz5703 oh yea I fixed it I was on an old version

    • @wuzz5703
      @wuzz5703 3 года назад

      @@BennyBagadonuts oh ok

  • @andrekristoffrosos9825
    @andrekristoffrosos9825 3 года назад

    How do I remove the "Text" Error

    • @CodeCraks
      @CodeCraks  3 года назад

      Where did you faced it? Can you describe the error?

    • @andrekristoffrosos9825
      @andrekristoffrosos9825 3 года назад

      @@CodeCraks oh nvm the error is gone i'm dumdum lol

  • @merrypaul6630
    @merrypaul6630 3 года назад

    pls i can see your code pls were can i get the source code

    • @CodeCraks
      @CodeCraks  3 года назад

      Link given in the description

    • @avanuf_2694
      @avanuf_2694 3 года назад +2

      @@CodeCraks but this link is not work

  • @pchr1337
    @pchr1337 4 года назад +2

    i want new source code download link bro

    • @CodeCraks
      @CodeCraks  4 года назад

      The new link is iwebmakerss.000webhostapp.com/source-code-and-resources--iweb-makers.html#sc_login_screen

    • @hamzaakhtar6307
      @hamzaakhtar6307 3 года назад

      @@CodeCraks Doesnt work

  • @rafaelmendes4911
    @rafaelmendes4911 3 года назад

    hey dude , is your website working ?

    • @CodeCraks
      @CodeCraks  3 года назад +1

      It's currently down, we are working on it. I'll update the video with the source code link.

  • @nottoxictim6005
    @nottoxictim6005 2 года назад

    hey bro i have a Text error

    • @CodeCraks
      @CodeCraks  2 года назад

      Could you please tell me more about the error so i can help you with that

  • @readyscreen
    @readyscreen Год назад

    thx for the download but why the trojan virus?

    • @CodeCraks
      @CodeCraks  Год назад

      Your antivirus software may or sometimes detect raw codes and files as trojans. It's actually safe.

  • @ramsey2155
    @ramsey2155 2 года назад

    now deploy/publish this and convince people to download a 149mb file just for loggin in

    • @CodeCraks
      @CodeCraks  2 года назад

      It's entirely up to you whether you want to download it or not. Btw it's around 800kb.

    • @ramsey2155
      @ramsey2155 2 года назад

      @@CodeCraks the reason it is 800kb is because it is not self contained
      not self contained means it wont work on any pc which doesnt have net core installed at that version
      so it is pretty much useless

    • @CodeCraks
      @CodeCraks  2 года назад

      The framework should be installed or packed in the project in any case. It is what it is, and there is nothing we can do about it. Our viewers have asked for it, and we have provided it. If you can create a login on your own, that's great, but some people seek support.

    • @ramsey2155
      @ramsey2155 2 года назад

      @@CodeCraks
      (when it got installed in the pacakge it becomss 149 mb)
      but i think you understand me wrong i appreciate your amazing work
      i just said you have to think about the size of the app
      and i am searching some thing else from netcore can you recomment me any?

  • @okuratnywidz3196
    @okuratnywidz3196 3 года назад

    nie działa :( help me; (

    • @CodeCraks
      @CodeCraks  3 года назад

      What can i do for you

    • @okuratnywidz3196
      @okuratnywidz3196 3 года назад

      @@CodeCraks its ok bro its work i have problem with log in user im Fix my problem :)

    • @CodeCraks
      @CodeCraks  3 года назад

      👍

  • @t.ccaparr
    @t.ccaparr 4 месяца назад

    What is username and password?

  • @mrskyline6406
    @mrskyline6406 3 года назад

    it just keeps telling me wrong

  • @wanaagmedia6157
    @wanaagmedia6157 2 года назад

    how to know password

  • @pxmer09
    @pxmer09 2 года назад

    bro ur website has trojans

    • @CodeCraks
      @CodeCraks  2 года назад

      Clear your browser cache and try again

  • @-TL-15
    @-TL-15 Год назад

    Not work

  • @PixeIPenguin
    @PixeIPenguin 3 года назад

    Hello! Before you take my advice, this is my opinion only and I do not really have much evidence to support it.
    About this download, I believe it is malware. I am not 100% sure but once I got it maybe one hour later I was getting random exes and dlls, named "7a.exe, 7a.dll." I also did a virus scan and all the viruses were from the folder itself, maybe 7 or 8 in total, I forget how much. So do not download this unless you want to, again this is my opinion and I could be completely wrong and something else was on my computer. I only have stuff from Microsoft on my computer, the only thing I can suspect was this. If you yourself iweb want to talk about this with me, I will talk with you about it on discord. I do not have any other communication platforms really.

    • @CodeCraks
      @CodeCraks  3 года назад

      Thanks for letting us know. I guess there is no file with 7a.exe or 7a.dll in the project package. To discuss about this problem, send us an email to iwebmakers.info@gmail.com

    • @PixeIPenguin
      @PixeIPenguin 3 года назад

      @@CodeCraks Thank you for responding so quickly! My apologies for such a late response, I had to figure out how to get it off my computer. I can send you some screenshots of it to your email.

  • @adampalayathar502
    @adampalayathar502 2 года назад

    This is Outdated

  • @YourJxx
    @YourJxx 7 месяцев назад

    Password?

  • @artisking1821
    @artisking1821 2 года назад

    Lol

  • @manassehrandriamitsiry5749
    @manassehrandriamitsiry5749 Год назад

    it's great but the method this.Hide() have a little problem cos even after you close the second window. The first window is still running in background. But maybe it's not a big deal. thanks by the way

    • @CodeCraks
      @CodeCraks  Год назад

      You are right, this.close() is the proper method.

  • @axeltoure2055
    @axeltoure2055 Год назад +1

    This is an very helpful video. Beautiful Form. Thank you.