C# Class TrainTracker.LoginUI.LoginRegistrationWindow

ChildWindow class that controls the registration process.
Inheritance: System.Windows.Controls.ChildWindow
Afficher le fichier Open project: vega670/TrainTracker Class Usage Examples

Méthodes publiques

Méthode 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.

Private Methods

Méthode 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 méthode

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
Résultat void

LoginRegistrationWindow() public méthode

Creates a new LoginRegistrationWindow instance.
public LoginRegistrationWindow ( ) : System
Résultat System

NavigateToLogin() public méthode

Causes the VisualStateManager to change to the "AtLogin" state.
public NavigateToLogin ( ) : void
Résultat void

NavigateToRegistration() public méthode

Causes the VisualStateManager to change to the "AtRegistration" state.
public NavigateToRegistration ( ) : void
Résultat void