C# Class ZSCY_Win10.KBPage

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

Public Methods

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

Protected Methods

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

Private Methods

Method Description
AddRemind_Click ( object sender, RoutedEventArgs e ) : void
BackGrid_Tapped ( object sender, TappedRoutedEventArgs e ) : void
GetTransaction ( string contentstring = null ) : void
HubSectionKBNum_Tapped ( object sender, TappedRoutedEventArgs e ) : void
KBCalendarAppBarButton_Click ( object sender, RoutedEventArgs e ) : void

切换课表

KBNumFlyoutTextBox_KeyUp ( object sender, KeyRoutedEventArgs e ) : void
KBNumSearch ( ) : void
KBNumSearchButton_Click ( object sender, RoutedEventArgs e ) : void
KBRefreshAppBarButton_Click ( object sender, RoutedEventArgs e ) : void

课表刷新

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

查询他人

KBZoomFlyoutTextBox_KeyUp ( object sender, KeyRoutedEventArgs e ) : void
KebiaoAllpr_RefreshInvoked ( DependencyObject sender, object args ) : void
RemindList_Click ( object sender, RoutedEventArgs e ) : void
SetClassAll ( ClassList item, int ClassColor ) : void

周视图课程格子的填充

SetClassDay ( ClassList classitem ) : void

日视图课程格子的填充

SetKebiaoGridBorder ( int week ) : void
SetTransactionAll ( List transationList, List classlist ) : void

学期事项填充

SetTransactionDay ( List transationList, List classlist, int week, int weekOrAll ) : void

当日事项填充

TestButton_Click ( object sender, RoutedEventArgs e ) : void
initKB ( bool isRefresh = false ) : void
initToday ( ) : void
showKB ( int weekOrAll = 1, int week, string transactioncontent = null ) : void

Method Details

GetWeekFirstDayMon() public method

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

GetWeekLastDaySun() public method

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

KBPage() public method

public KBPage ( ) : 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 ( DateTime datestart ) : void
datestart DateTime
return void