then I wrote this;
private void Button_Click_1(object sender, RoutedEventArgs e)
{
string ka1 = "John";
string ka2 = "Roll";
string ka3 = "Funs";
string ka4 = "Clark";
string pw1 = "wert";
string pw2 = "tuna";
string pw3 = "rasta";
string pw4 = "packed";
if ((TextBox1.Text == ka1) && (Password.PasswordBox == pw1))
return;
}
------------------------------------------------------------------------
But VS2012 says "TextBox1 does not exist in the current context"
How can i create a login WPF?
Thanks in advance
------------------------------------------------------------------------
But VS2012 says "TextBox1 does not exist in the current context"
How can i create a login WPF?
Thanks in advance

Santhosh Kumar JayaramanRank #563 · 4.3K reputationPosted Feb 5, 2013, 6:47 PM EST
Satyapriya NayakRank #47 · 31.5K reputationPosted Feb 5, 2013, 8:28 PM EST
http://www.c-sharpcorner.com/uploadfile/prathore/login-and-registration-process-in-wpf-application/
Thanks