44 lines
1.0 KiB
C#
44 lines
1.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Windows.Forms;
|
|
using CommonLib;
|
|
|
|
namespace ERPClient
|
|
{
|
|
public partial class FrmRelogin : ERPClient.App_Code.FrmLoginBase
|
|
{
|
|
public FrmRelogin()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void btnLogin_Click(object sender, EventArgs e)
|
|
{
|
|
string strEmployeeId = txtUserName.ReturnValue.ToString();
|
|
string strPwd = txtPassword.Text;
|
|
if (Login(strEmployeeId, strPwd, txtUserName.Text.Trim(), false))
|
|
{
|
|
ERPInfo.Instance.ExitResult = ENUMCloseAction.caRelogin;
|
|
Close();
|
|
}
|
|
|
|
}
|
|
|
|
private void btnQuit_Click(object sender, EventArgs e)
|
|
{
|
|
ERPInfo.Instance.ExitResult = ENUMCloseAction.caClose;
|
|
Close();
|
|
}
|
|
|
|
private void FrmRelogin_Load(object sender, EventArgs e)
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|