Exemplo n.º 1
0
 protected virtual void OnSelectedNodeChanged(TreeViewSelectedNodeChangedArgs e)
 {
     if (SelectedNodeChanged != null)
     {
         SelectedNodeChanged(this, e);
     }
 }
Exemplo n.º 2
0
        protected override void OnAfterSelect(TreeViewEventArgs e)
        {
            base.OnAfterSelect(e);

            OnSelectedNodeChanged(_selectedNodeChanged);
            _selectedNodeChanged = null;
        }
 protected virtual void OnSelectedNodeChanged(TreeViewSelectedNodeChangedArgs e)
 {
     if (SelectedNodeChanged != null)
     {
         SelectedNodeChanged(this, e);
     }
 }
        protected override void OnAfterSelect(TreeViewEventArgs e)
        {
            base.OnAfterSelect(e);

            OnSelectedNodeChanged(_selectedNodeChanged);
            _selectedNodeChanged = null;
        }
Exemplo n.º 5
0
 protected override void OnBeforeSelect(TreeViewCancelEventArgs e)
 {
     base.OnBeforeSelect(e);
     if (!e.Cancel)
     {
         _selectedNodeChanged = new TreeViewSelectedNodeChangedArgs(SelectedNode, e.Node, e.Action);
     }
 }
 protected override void OnBeforeSelect(TreeViewCancelEventArgs e)
 {
     base.OnBeforeSelect(e);
     if (!e.Cancel)
     {
         _selectedNodeChanged = new TreeViewSelectedNodeChangedArgs(SelectedNode, e.Node, e.Action);
     }
 }