init lserp cs 5.0
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
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;
|
||||
using Lskj.Main.App_Code;
|
||||
|
||||
namespace Lskj.Main.sub
|
||||
{
|
||||
public partial class FrmRelogin : FrmLoginBase
|
||||
{
|
||||
public FrmRelogin()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void btnLogin_Click(object sender, EventArgs e)
|
||||
{
|
||||
string strEmployeeId = txtUserName.ReturnValue.ToString();
|
||||
string strPwd = txtPassword.Text;
|
||||
bool qzLogin = chkLogin.Checked;
|
||||
if (Login(strEmployeeId, strPwd, txtUserName.Text.Trim(), qzLogin))
|
||||
{
|
||||
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