Skip to content

Instantly share code, notes, and snippets.

@fgbh
Created October 20, 2018 09:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fgbh/9c74912f82068df02299e747a1c87c5e to your computer and use it in GitHub Desktop.
Save fgbh/9c74912f82068df02299e747a1c87c5e to your computer and use it in GitHub Desktop.
Login code
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