C# 클래스 RIAServiceApplication.LoginUI.LoginRegistrationWindow

ChildWindow class that controls the registration process.
상속: System.Windows.Controls.ChildWindow
파일 보기 프로젝트 열기: KuduApps/RIAServicesApp 1 사용 예제들

공개 메소드들

메소드 설명
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