예제 #1
0
 /// <summary>
 /// Trigger the collapsing event
 /// </summary>
 /// <param name="e"></param>
 protected virtual void OnCollapsing(TreeBranchCollapsingEventArgs e) {
     if (this.Collapsing != null)
         this.Collapsing(this, e);
 }
 private void tlvPluginsList_Collapsing(object sender, TreeBranchCollapsingEventArgs e)
 {
     if (ModifierKeys == Keys.Control)
         if (TlvControl.CanExpand(e))
             RecursiveExpand(TlvControl.GetChildren(e));
 }