init lserp cs 5.0
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
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)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user