Hi Guys this is the Login Page with the snipped:

Code:
public int m = 0;
            string user = Usernametxt.Text;
            if (user.Equals("Admin"))
            {
                m = 1;
            }
            else { m = 0; }

and another snipped on another form where:


Code:
private void HomePagefrm_Load(object sender, EventArgs e)
...