Пример #1
0
 protected virtual void OnAfterSelect( TreeNodeEventArgs e )
 {
     if( AfterSelect != null )
     {
         AfterSelect( this, e );
     }
 }
Пример #2
0
 protected virtual void OnNodeMouseHover( TreeNodeEventArgs e )
 {
     if( NodeMouseHover != null )
     {
         NodeMouseHover( this, e );
     }
 }
Пример #3
0
        private void _treeControl_AfterSelect( object sender, TreeNodeEventArgs e )
        {
            string path = string.Empty;
            TreeNode node = _treeControl.SelectedNode;

            while( node != null )
            {
                path = "/" + GetNodeText( node ).Replace( '/', '_' ) + path;
                node = node.ParentCollection.ParentNode;
            }

            ControlPreferences.SetValue( Name, "Selection", path );
        }