C# Class ZSCY.MainPage

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

Public Methods

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

Protected Methods

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

Private Methods

Method 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 method

public GetWeekFirstDayMon ( System.DateTime datetime ) : System.DateTime
datetime System.DateTime
return System.DateTime

GetWeekLastDaySun() public method

public GetWeekLastDaySun ( System.DateTime datetime ) : System.DateTime
datetime System.DateTime
return System.DateTime

MainPage() public method

public MainPage ( ) : Newtonsoft.Json.Linq
return Newtonsoft.Json.Linq

OnNavigatedFrom() protected method

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

OnNavigatedTo() protected method

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

ShowWeekOnKB() public method

public ShowWeekOnKB ( System.DateTime datestart ) : void
datestart System.DateTime
return void