Created
October 20, 2018 09:20
-
-
Save fgbh/9c74912f82068df02299e747a1c87c5e to your computer and use it in GitHub Desktop.
Login code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Data; | |
using System.Drawing; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Windows.Forms; | |
namespace launchOmatic | |
{ | |
public partial class Form1 : Form | |
{ | |
BL.BLL log = new BL.BLL(); | |
PL.main z = new PL.main(); | |
public Form1() | |
{ | |
InitializeComponent(); | |
} | |
private void pictureBox1_Click(object sender, EventArgs e) | |
{ | |
Application.Exit(); | |
} | |
private void tu_KeyDown(object sender, KeyEventArgs e) | |
{ | |
if (e.KeyCode == Keys.Enter) | |
{ | |
tp.Focus(); | |
} | |
} | |
private void tp_KeyDown(object sender, KeyEventArgs e) | |
{ | |
if (e.KeyCode == Keys.Enter) | |
{ | |
btnlogin.Focus(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment