C# Class RIAServiceApplication.LoginUI.LoginRegistrationWindow

ChildWindow class that controls the registration process.
Inheritance: System.Windows.Controls.ChildWindow
Datei anzeigen Open project: KuduApps/RIAServicesApp Class Usage Examples

Public Methods

Method Description
AddPendingOperation ( OperationBase operation ) : void

Notifies the LoginRegistrationWindow window that it can only close if operation is finished or can be cancelled.

LoginRegistrationWindow ( ) : System

Creates a new LoginRegistrationWindow instance.

NavigateToLogin ( ) : void

Causes the VisualStateManager to change to the "AtLogin" state.

NavigateToRegistration ( ) : void

Causes the VisualStateManager to change to the "AtRegistration" state.

Protected Methods

Method Description
OnOpened ( ) : void

Ensures the visual state and focus are correct when the window is opened.

Private Methods

Method Description
GoToInitialState ( object sender, EventArgs eventArgs ) : void

Initializes the VisualStateManager for this component by putting it into the "AtLogin" state.

LoginWindow_Closing ( object sender, CancelEventArgs eventArgs ) : void

Prevents the window from closing while there are operations in progress

UpdateTitle ( object sender, EventArgs eventArgs ) : void

Updates the window title according to which panel (registration / login) is currently being displayed.

Method Details

AddPendingOperation() public method

Notifies the LoginRegistrationWindow window that it can only close if operation is finished or can be cancelled.
public AddPendingOperation ( OperationBase operation ) : void
operation OperationBase The pending operation to monitor
return void

LoginRegistrationWindow() public method

Creates a new LoginRegistrationWindow instance.
public LoginRegistrationWindow ( ) : System
return System

NavigateToLogin() public method

Causes the VisualStateManager to change to the "AtLogin" state.
public NavigateToLogin ( ) : void
return void

NavigateToRegistration() public method

Causes the VisualStateManager to change to the "AtRegistration" state.
public NavigateToRegistration ( ) : void
return void

OnOpened() protected method

Ensures the visual state and focus are correct when the window is opened.
protected OnOpened ( ) : void
return void