Thursday, February 27, 2014

need help!! please.. :'( Different User Accessing Different Form in C#


if((username.Equals("a") == true) && (password.Equals("a") == true))
{
var newForm2 = new Form2();
newForm2.Show();
}
if((username.Equals("b") == true) && (password.Equals("b") == true))
{
var newForm3 = new Form3();
newForm3.Show();
}

I'm not exactly sure what you're looking for, but will something like this help? I could be wrong ... I'm not quite sure what your question is.



No comments:

Post a Comment