Please could i have some help, i want to create a windows login form that when i log in, it takes me to another form that says logging in and then another one that i have logged in. I dont actually know how to link them up, could someone please start me off with the command and then let me try and finish please.
I have this so far so that you cannot attempt to login without entering a username and password
CODE
if (!(string.IsNullOrEmpty(textBox1.Text)) && textBox1.Text != "")
{
;
}
else
{
MessageBox.Show("A Username & Password is provided before you are able to login");
textBox1.Focus();
}
if (!(string.IsNullOrEmpty(textBox2.Text)) && textBox2.Text != "")
{
;
}
else
{
MessageBox.Show("A Username & Password is provided before you are able to login");
textBox1.Focus();
}
That is as far as i have actually got, i have designed all of my pages how i want them...
I am using microsoft visual C# 2005 Express Edition
Thanks
Affinity