public void OnArrowClicked(Arrow arrow)
 {
     if (PageChanged != null)
     {
         int pageChange = arrow == Arrow.Down ? 1 : -1;
         var args       = new PageChangedEventArgs(Config.Name, Config.Type, pageChange);
         PageChanged(this, args);
     }
 }
示例#2
0
 private void OnPageChanged(object sender, PageChangedEventArgs e)
 {
     if (e.ColumnType == BrowserColumnController.ColumnType.RESULTS)
     {
         RemoteEventEmitter.Instance.ChangeResultsPage(e.PageChange);
     }
     else if (e.ColumnType == BrowserColumnController.ColumnType.FILTER)
     {
         RemoteEventEmitter.Instance.ChangeFilterPage(e.ColumnName, e.PageChange);
     }
 }