Esempio n. 1
0
 protected virtual void OnAfterSelect( TreeNodeEventArgs e )
 {
     if( AfterSelect != null )
     {
         AfterSelect( this, e );
     }
 }
Esempio n. 2
0
 protected virtual void OnNodeMouseHover( TreeNodeEventArgs e )
 {
     if( NodeMouseHover != null )
     {
         NodeMouseHover( this, e );
     }
 }
Esempio n. 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 );
        }