예제 #1
0
 public void Start()
 {
     IntermediateSettingStorage.SetKeyBindings();
     Controller.FillBoards();
     currentBoard = Controller.GetBoard(Properties.Settings.Default.DefaultBoard, 1);
     boardSelect.ItemsSource = Controller.GetBoardNames();
     boardSelect.Text = currentBoard.Board.ToString();
     pageNo.ItemsSource = Controller.CountUpTo(currentBoard.Board.Pages);
     pageNo.SelectedIndex = pageNumber;
     Update();
 }
예제 #2
0
 private void RefreshBoard()
 {
     currentBoard = Controller.GetBoard(currentBoard.Board.BoardName, 1);
     threadNumber = 0;
     Update();
 }
예제 #3
0
 private void boardSelect_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     currentBoard = Controller.GetFullBoard((FChan.Library.Board)boardSelect.SelectedItem, 1);
     threadNumber = 0;
     Update();
 }
예제 #4
0
 private void pageNo_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     currentBoard = Controller.GetBoard(currentBoard.Board.BoardName, (int)pageNo.SelectedItem);
     threadNumber = 0;
     Update();
 }