Ejemplo n.º 1
0
 ///<summary>
 ///Raises the <see cref="AfterCollapse" /> event.
 ///</summary>
 ///<param name="e">A <see cref="TreeViewEventArgs" /> that contains the event data. </param>
 protected override void OnAfterCollapse(TreeViewEventArgs e)
 {
     base.OnAfterCollapse(e);
     if (this.AfterCollapse == null)
     {
         return;
     }
     Base.TreeViewEventArgs treeViewEventArgs = new Base.TreeViewEventArgs(GetITreeNode(e.Node), (TreeViewAction)e.Action);
     this.AfterCollapse(this, treeViewEventArgs);
 }
Ejemplo n.º 2
0
 ///<summary>
 ///Raises the <see cref="E:Gizmox.WebGUI.Forms.TreeView.AfterSelect" /> event.
 ///</summary>
 ///
 ///<param name="e">A <see cref="T:Gizmox.WebGUI.Forms.TreeViewEventArgs" /> that contains the event data. </param>
 protected override void OnAfterSelect(TreeViewEventArgs e)
 {
     base.OnAfterSelect(e);
     if (this.AfterSelect == null) return;
     Base.TreeViewEventArgs treeViewEventArgs = new Base.TreeViewEventArgs(
         GetITreeNode(e.Node), (TreeViewAction)e.Action);
     this.AfterSelect(this, treeViewEventArgs);
 }