H
Hrvoje Voda
public bool Logon()
{
if (db!=null)
{
Login lg = new Login (db);
lg.ShowDialog ();
UserName = lg.UserName ;
DomainName = lg.DomainName ;
return true;
}
else
return false;
}
I'm using this code to get UserName and DomainName from a dialog.
It is a dll file.
But, when I call another function in that same dll UserName and DomainName
variables are empty!
How can I save there values so that I can use it in another functions?
Hrcko
{
if (db!=null)
{
Login lg = new Login (db);
lg.ShowDialog ();
UserName = lg.UserName ;
DomainName = lg.DomainName ;
return true;
}
else
return false;
}
I'm using this code to get UserName and DomainName from a dialog.
It is a dll file.
But, when I call another function in that same dll UserName and DomainName
variables are empty!
How can I save there values so that I can use it in another functions?
Hrcko