private void btnEmailLogin_Click(object sender, RoutedEventArgs e) { string emailAddress = txtEmailAddress.Text; string txtPasswords = txtPassword.Text; NavigationService.Navigate(new Uri(string.Format("/EmailSender.xaml?emailAddress={0}&txtPasswords={1}", emailAddress, txtPasswords), UriKind.Relative)); }
if (this.NavigationContext.QueryString.ContainsKey("emailAddress") || this.NavigationContext.QueryString.ContainsKey("password")) { this.txtFrom.Text = this.NavigationContext.QueryString["emailAddress"]; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)