它的程序入口是主窗口而不是登陆框,我用逐语句调试到验证用户名和密码时有一个SQL语句指向数据库的两个字段,可我用那里的数据进不去.

是不是这个?
public class UserManagement
{
public UserManagement();
public void AddEmployee(stEmployee stEmp);
public DataTable FetchEmployeeDetails(string[] searchValue);
public bool Login(string usrid, string password);
public void ModifyEmployee(stEmployee stEmp);
public void ModifyPassWord(string newPwd, string UsrId);
public void SendMail(string mail, string id, string pwd);
}