Beispiel #1
0
        private void CollectCommand_Executed1(object sender, System.Windows.Input.ExecutedRoutedEventArgs e)
        {
            HelpDocFrame page = GetFrameByPageIndex((_helpDocTreeView.HelpDocTree.SelectedItem as HelpDocTreeItem).PageIndex);

            FavoriteManager.CollectPage(page);
        }
Beispiel #2
0
        private void CollectCommand_Executed(object sender, System.Windows.Input.ExecutedRoutedEventArgs e)
        {
            HelpDocFrame page = _pageTabControl.SelectedItem as HelpDocFrame;

            FavoriteManager.CollectPage(page);
        }
Beispiel #3
0
        private void CollectCommand_Executed2(object sender, ExecutedRoutedEventArgs e)
        {
            HelpDocFrame page = GetFrameByPageIndex((_helpDocSearch.CollectList.SelectedItem as HelpDocFrame).PageIndex);

            FavoriteManager.CollectPage(page);
        }