using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace MOTINOVA_Motor_Factory_Set { public partial class Enter : Form { public Enter() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { this.Close(); } private void Enter_Load(object sender, EventArgs e) { textBox_User.Text = ""; textBox_Passwd.Text = ""; } private void button_keyboard_Click(object sender, EventArgs e) { System.Diagnostics.Process.Start("osk.exe"); } private void textBox_Passwd_KeyUp(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter) this.Close(); } } }