C# Class Herald.UserLogin

可独立使用或用于导航至 Frame 内部的空白页。
Inheritance: Windows.UI.Xaml.Controls.Page
ファイルを表示 Open project: HeraldStudio/Herald-WP

Public Properties

Property Type Description
app App

Public Methods

Method Description
UserLogin ( ) : Herald.Common

Protected Methods

Method Description
OnNavigatedFrom ( NavigationEventArgs e ) : void
OnNavigatedTo ( NavigationEventArgs e ) : void

此部分中提供的方法只是用于使 NavigationHelper 可响应页面的导航方法。

应将页面特有的逻辑放入用于 NavigationHelper.LoadStateNavigationHelper.SaveState 的事件处理程序中。 除了在会话期间保留的页面状态之外 LoadState 方法中还提供导航参数。

Private Methods

Method Description
AppBarButton_Click ( object sender, RoutedEventArgs e ) : void
Connect ( int connectionId, object target ) : void
InitializeComponent ( ) : void
NavigationHelper_LoadState ( object sender, LoadStateEventArgs e ) : void

使用在导航过程中传递的内容填充页。 在从以前的会话 重新创建页时,也会提供任何已保存状态。

NavigationHelper_SaveState ( object sender, SaveStateEventArgs e ) : void

保留与此页关联的状态,以防挂起应用程序或 从导航缓存中放弃此页。值必须符合 SuspensionManager.SessionState 的序列化要求。

Page_Loaded ( object sender, RoutedEventArgs e ) : void
Password_GotFocus ( object sender, RoutedEventArgs e ) : void
userName_GotFocus ( object sender, RoutedEventArgs e ) : void

Method Details

OnNavigatedFrom() protected method

protected OnNavigatedFrom ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs
return void

OnNavigatedTo() protected method

此部分中提供的方法只是用于使 NavigationHelper 可响应页面的导航方法。

应将页面特有的逻辑放入用于 NavigationHelper.LoadStateNavigationHelper.SaveState 的事件处理程序中。 除了在会话期间保留的页面状态之外 LoadState 方法中还提供导航参数。

protected OnNavigatedTo ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs 提供导航方法数据和 /// 无法取消导航请求的事件处理程序。
return void

UserLogin() public method

public UserLogin ( ) : Herald.Common
return Herald.Common

Property Details

app public_oe property

public App app
return App