Ejemplo n.º 1
0
 private void ShowEBookView()
 {
     if (_EBookListView == null)
     {
         _EBookListView = new EBookListControl();
     }
     this.contextPanel.Children.Clear();
     this.contextPanel.Children.Add(_EBookListView);
     _CurFormType = EnumMainToolButton.LOADEBOOK;
 }
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 3
0
 public MainToolBarClickArgs(RoutedEvent routedEvent, Object source, EnumMainToolButton buttonType) : base(routedEvent, source)
 {
     _ButtonType = buttonType;
 }