protected virtual void OnCustomCheck(System.Windows.Forms.TreeNode node, System.Windows.Forms.TreeViewAction action) { System.Windows.Forms.TreeViewCancelEventArgs e = new System.Windows.Forms.TreeViewCancelEventArgs(node, false, action); OnBeforeCheck(e); // if (node is IStateTreeNode) { ((IStateTreeNode)node).UpdateState(e); } // if (e.Cancel) { return; } OnAfterCheck(new System.Windows.Forms.TreeViewEventArgs(node, action)); }
public virtual void BeforeExpand(object sender, System.Windows.Forms.TreeViewAction action, ref bool cancel) { }
public virtual void AfterSelect(object sender, System.Windows.Forms.TreeViewAction action) { }