private void _treeCtrl_BeforeSelect(object sender, TreeViewCancelEventArgs e) { if (_selectionDisabled) { e.Cancel = true; } }