C# Class ZSCY.MainPage

可用于自身或导航至 Frame 内部的空白页。
Inheritance: Windows.UI.Xaml.Controls.Page
Afficher le fichier Open project: RedrockMobile/CyxbsMobile_Win

Méthodes publiques

Méthode Description
GetWeekFirstDayMon ( System.DateTime datetime ) : System.DateTime
GetWeekLastDaySun ( System.DateTime datetime ) : System.DateTime
MainPage ( ) : Newtonsoft.Json.Linq
ShowWeekOnKB ( System.DateTime datestart ) : void

Méthodes protégées

Méthode Description
OnNavigatedFrom ( NavigationEventArgs e ) : void
OnNavigatedTo ( NavigationEventArgs e ) : void

Private Methods

Méthode Description
BackGrid_Tapped ( object sender, TappedRoutedEventArgs e ) : void
HardwareButtons_BackPressed ( object sender, BackPressedEventArgs e ) : void
HubSectionKBNum_Tapped ( object sender, TappedRoutedEventArgs e ) : void
ItemView_ItemClick ( object sender, ItemClickEventArgs e ) : void
JiaowuListView_ItemClick ( object sender, ItemClickEventArgs e ) : void
KBCalendarAppBarButton_Click ( object sender, RoutedEventArgs e ) : void

切换课表

KBNumSearchButton_Click ( object sender, RoutedEventArgs e ) : void
KBRefreshAppBarButton_Click ( object sender, RoutedEventArgs e ) : void

课表刷新

KBSearchButton_Click ( object sender, RoutedEventArgs e ) : void
KBZoomAppBarButton_Click ( object sender, RoutedEventArgs e ) : void

查询他人

MainHub_SectionsInViewChanged ( object sender, SectionsInViewChangedEventArgs e ) : void
MoreSwitchAppBarButton_Click ( object sender, RoutedEventArgs e ) : void

切换账号

NavigationHelper_LoadState ( object sender, LoadStateEventArgs e ) : void
NewsListFailedStackPanel_Tapped ( object sender, TappedRoutedEventArgs e ) : void
NewsListView_ItemClick ( object sender, ItemClickEventArgs e ) : void
NewsPivot_SelectionChanged ( object sender, SelectionChangedEventArgs e ) : void
NewsRefreshAppBarButton_Click ( object sender, RoutedEventArgs e ) : void

教务刷新

SendURL ( string url ) : void

通道URL发送给服务器

SetClass ( ClassList item, int ClassColor ) : void

课程格子的填充

SetKebiaoGridBorder ( int week ) : void
continueNewsGrid_Tapped ( object sender, TappedRoutedEventArgs e ) : void
initJW ( int page = 1 ) : void

教务信息网络请求

initKB ( bool isRefresh = false ) : void

课表网络请求

initNewsList ( string type, int page ) : void
showKB ( int weekOrAll = 1, int week ) : void

显示课表

Method Details

GetWeekFirstDayMon() public méthode

public GetWeekFirstDayMon ( System.DateTime datetime ) : System.DateTime
datetime System.DateTime
Résultat System.DateTime

GetWeekLastDaySun() public méthode

public GetWeekLastDaySun ( System.DateTime datetime ) : System.DateTime
datetime System.DateTime
Résultat System.DateTime

MainPage() public méthode

public MainPage ( ) : Newtonsoft.Json.Linq
Résultat Newtonsoft.Json.Linq

OnNavigatedFrom() protected méthode

protected OnNavigatedFrom ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs
Résultat void

OnNavigatedTo() protected méthode

protected OnNavigatedTo ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs
Résultat void

ShowWeekOnKB() public méthode

public ShowWeekOnKB ( System.DateTime datestart ) : void
datestart System.DateTime
Résultat void