Method | Description | |
---|---|---|
RegistrationForm ( ) : System |
Creates a new RegistrationForm instance.
|
|
SetInitialFocus ( ) : void |
Sets focus to the user name text box.
|
|
SetParentWindow ( |
Sets the parent window for the current RegistrationForm.
|
Method | Description | |
---|---|---|
BackToLogin_Click ( object sender, |
Switches to the login window.
|
|
CancelButton_Click ( object sender, |
If a registration or login operation is in progress and is cancellable, cancel it. Otherwise, close the window.
|
|
GetSecurityQuestions ( ) : IEnumerable |
Returns a list of the resource strings defined in SecurityQuestions.
|
|
LoginOperation_Completed ( LoginOperation loginOperation ) : void |
Completion handler for the login operation that occurs after a successful registration and login attempt. This will close the window. If the operation fails, an ErrorWindow will display the error message.
|
|
RegisterButton_Click ( object sender, |
Submit the new registration.
|
|
RegisterForm_AutoGeneratingField ( object dataForm, System.Windows.Controls.DataFormAutoGeneratingFieldEventArgs e ) : void |
Wire up the Password and PasswordConfirmation accessors as the fields get generated. Also bind the Question field to a ComboBox full of security questions, and handle the LostFocus event for the UserName TextBox.
|
|
RegistrationForm_KeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void |
Maps Esc to the cancel button and Enter to the OK button.
|
|
RegistrationOperation_Completed ( InvokeOperation |
Completion handler for the registration operation. If there was an error, an ErrorWindow is displayed to the user. Otherwise, this triggers a login operation that will automatically log in the just registered user.
|
|
UserNameLostFocus ( object sender, |
The callback for when the UserName TextBox loses focus. Call into the registration data to allow logic to be processed, possibly setting the FriendlyName field.
|
public SetParentWindow ( |
||
window | The window to use as the parent. | |
return | void |