/// <summary> /// Handles the Click event of the btnRegister control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="System.Windows.RoutedEventArgs"/> instance containing the event data.</param> private void btnRegister_Click(object sender, RoutedEventArgs e) { var ss = new IrisSession() { Username = EdUserName.Text, AuthenticationMode = AuthenticationMode.Native, AccountId = EdUserName.Text }; Request = RegisterNewUserDialog.Execute(ss); EdPwd.Password = CryptoEngine.Decrypt(Request.Password); }
/// <summary> /// Handles the Click event of the miProfile control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> /// <remarks></remarks> void miProfile_Click(object sender, EventArgs e) { RegisterNewUserDialog.Execute(IrisSession.Current); }