private void ShowEBookView() { if (_EBookListView == null) { _EBookListView = new EBookListControl(); } this.contextPanel.Children.Clear(); this.contextPanel.Children.Add(_EBookListView); _CurFormType = EnumMainToolButton.LOADEBOOK; }
private void ShowBookView() { if (_BookListView == null) { _BookListView = new BookListControl(); _BookListView.Name = "BookListVIew"; _BookListView.LoadFTPRoot += LoadBookFTPRoot; _BLLBook = new BLLBook(); } this.contextPanel.Children.Clear(); this.contextPanel.Children.Add(_BookListView); _CurFormType = EnumMainToolButton.LOADBOOK; var _item = _BLLBook.LoadBookList(0, 10); _BookListView.LoadData(_item); }
public MainToolBarClickArgs(RoutedEvent routedEvent, Object source, EnumMainToolButton buttonType) : base(routedEvent, source) { _ButtonType = buttonType; }