G
Guest
Hi
I have a class that have a Login Method that opens a Login Form
The client that calls the Login Method should receive the User_ID if logins succed
Is it possible to return from the Login form to the method the UserID and from the method to the client
//THIS IS THE LOGIN METHOD THAT WILL CALL THE LOGIN FOR
public string GUILogin(string sDBUser, string sDBPassw, string sDBDsn
Form oform=new dlgLogin(sDBUser, sDBPassw, sDBDsn, ref ID_Util)
oform.ShowDialog()
// CAN I CATCH HERE THE USERID STORED IN A FORM VARIABLE OR SOMETHING LIKE THAT
Thanks for your help
Bernardo Piano
I have a class that have a Login Method that opens a Login Form
The client that calls the Login Method should receive the User_ID if logins succed
Is it possible to return from the Login form to the method the UserID and from the method to the client
//THIS IS THE LOGIN METHOD THAT WILL CALL THE LOGIN FOR
public string GUILogin(string sDBUser, string sDBPassw, string sDBDsn
Form oform=new dlgLogin(sDBUser, sDBPassw, sDBDsn, ref ID_Util)
oform.ShowDialog()
// CAN I CATCH HERE THE USERID STORED IN A FORM VARIABLE OR SOMETHING LIKE THAT
Thanks for your help
Bernardo Piano