Deniyorum reis olursa söylerim.Basit if else
C#:if(textbox1.text == "cokgizlisifre") { Form2 form = new Form2(); form.show(); } else { MessageBox.Show("Şifre Yanlış!"); }
anlamadım ?formda değer döndürmeyin, kırılması çok kolay olur.
//Button Clik e :
if(textbox1.text == "Şifren")
{
Form2 f1 = new Form2();
f1.show();
}
else
{
MessageBox.Show("Girdiğiniz Şifre Hatalı!");
}
if (textbox1.text == "Kullanıcı Adı")
{
if (textbox2.text == "Şifre")
{
Form2 f2 = new Form2();
f2.show();
}
else
{
MessageBox.Show("Girdiğiniz Şifre Hatalı!");
}
}
else
{
MessageBox.Show("Girdiğiniz Kullanıcı Adı Hatalı");
}
Php ile yapin diyor .net tabanli program kolay kirilir ama .net icine php baglardan kirsa bile zor degistirianlamadım ?