protected virtual void OnBeforeSelect(TreeViewCancelEventArgs e) { if (BeforeSelect != null) BeforeSelect(this, e); }