Richard Brennan

Richard Brennan

  • NA
  • 114
  • 85.3k

passing a value to a new form

Apr 13 2011 3:12 PM
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)