Пример #1
0
        private void sidebar_AfterSelect(object sender, TreeViewEventArgs e)
        {
            ColumnTreeNode node = e.Node as ColumnTreeNode;

            if (node.SubColumn == null)
            {
                return;
            }

            ItemsColumn c = Packages.InstantiateColumn(node.SubColumn, this);

            tabBar.CurrentTab.ColumnView.NavigateTo(c.GetTrail());
            tabBar.CurrentTab.ColumnView.Columns[0].Focus();
            tabBar.CurrentTab.ColumnView.ScrollToLastColumn();
        }
Пример #2
0
 public void NavigateTo(ItemsColumn column)
 {
     NavigateTo(column.GetTrail());
 }