You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
838 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace Com.Estsh.MES.AssemblyInput
{
public partial class FrmPassword_ck : Form
{
public FrmPassword_ck()
{
InitializeComponent();
}
public string Password
{
get
{
return txtPassword.Text;
}
}
private void FrmPassword_Activated(object sender, EventArgs e)
{
txtPassword.Focus();
}
private void txtPassword_KeyPress(object sender, KeyPressEventArgs e)
{
if (e.KeyChar == (char)13)
{
this.DialogResult = DialogResult.OK;
}
}
}
}