Method | Description | |
---|---|---|
RegistrationForm ( ) : System |
Creates a new RegistrationForm instance.
|
|
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.
|
|
CreateComboBoxWithSecurityQuestions ( ) : |
Returns a ComboBox object whose ComboBox.ItemsSource property is initialized with the resource strings defined in SecurityQuestions.
|
|
InitializeComponent ( ) : void | ||
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. On the unexpected event that this operation failed (the user was just added so why wouldn't it be authenticated successfully) an ErrorWindow is created and 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.
|
|
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 |