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(); }
private void RefreshBoard() { currentBoard = Controller.GetBoard(currentBoard.Board.BoardName, 1); threadNumber = 0; Update(); }
private void boardSelect_SelectionChanged(object sender, SelectionChangedEventArgs e) { currentBoard = Controller.GetFullBoard((FChan.Library.Board)boardSelect.SelectedItem, 1); threadNumber = 0; Update(); }
private void pageNo_SelectionChanged(object sender, SelectionChangedEventArgs e) { currentBoard = Controller.GetBoard(currentBoard.Board.BoardName, (int)pageNo.SelectedItem); threadNumber = 0; Update(); }