Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Millora en el login

Millora en el login

Scheduled Pinned Locked Moved C#
helptutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Anonymous
    wrote on last edited by
    #1

    The source is: private void Form1_Load(object sender, System.EventArgs e) { password.Text = " "; password.PasswordChar = "*"; } private void SubmitPass_Click(object sender, System.EventArgs e) { if (id.Text == " USER " && password.Text == " PASSWORD ") { //here you have put the action that you want that the application //do when login is true (for example) this.WindowState = System.Windows.Forms.FormWindowState.Maximized; //this action does that the window state application is //maximized } else //here the action that you want that the application would do //if the login is false (for example) MessageBox.Show ("Login incorrect. Try again","Login by Rugi",MessageBoxButtons.OK,MessageBoxIcon.Error); //this action is because the application shows a critical (message box) Visca Catalunya ||*|| Salutacions cordials: Roger Roca

    A 1 Reply Last reply
    0
    • A Anonymous

      The source is: private void Form1_Load(object sender, System.EventArgs e) { password.Text = " "; password.PasswordChar = "*"; } private void SubmitPass_Click(object sender, System.EventArgs e) { if (id.Text == " USER " && password.Text == " PASSWORD ") { //here you have put the action that you want that the application //do when login is true (for example) this.WindowState = System.Windows.Forms.FormWindowState.Maximized; //this action does that the window state application is //maximized } else //here the action that you want that the application would do //if the login is false (for example) MessageBox.Show ("Login incorrect. Try again","Login by Rugi",MessageBoxButtons.OK,MessageBoxIcon.Error); //this action is because the application shows a critical (message box) Visca Catalunya ||*|| Salutacions cordials: Roger Roca

      A Offline
      A Offline
      Andre Ziegler
      wrote on last edited by
      #2

      Can you write your question in english, please? 'A programmer ist just a tool which converts caffeine into code'

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups