3
Answers

passing a value to a new form

Richard Brennan

Richard Brennan

13y
2.3k
1
I have an app with a log on screen.  The user that logs on can have administrator access - this information need passing to the form that opens when they log on.

on the logon form i have:

string admin = "yes";
or
string admin = "no";

When the next from opens it needs to know if admin is yes or no.  The new form disables functions if the log on is not an administrator.


Answers (3)