C# Класс RIAServiceApplication.LoginUI.LoginRegistrationWindow

ChildWindow class that controls the registration process.
Наследование: System.Windows.Controls.ChildWindow
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
OnOpened ( ) : void

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

Приватные методы

Метод Описание
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.

Описание методов

AddPendingOperation() публичный Метод

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
Результат void

LoginRegistrationWindow() публичный Метод

Creates a new LoginRegistrationWindow instance.
public LoginRegistrationWindow ( ) : System
Результат System

NavigateToLogin() публичный Метод

Causes the VisualStateManager to change to the "AtLogin" state.
public NavigateToLogin ( ) : void
Результат void

NavigateToRegistration() публичный Метод

Causes the VisualStateManager to change to the "AtRegistration" state.
public NavigateToRegistration ( ) : void
Результат void

OnOpened() защищенный Метод

Ensures the visual state and focus are correct when the window is opened.
protected OnOpened ( ) : void
Результат void