Ejemplo n.º 1
0
        /// <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);
        }
Ejemplo n.º 2
0
 public SquareLoginWindow()
 {
     InitializeComponent();
     Request = new IrisAuthRequest();
 }