private void AddNote() { if (_treeHelper.IsSystem(treeViewLibrary.SelectedNode)) { return; } var _newNode = _treeHelper.CreateNewNodeWindowed(treeViewLibrary.SelectedNode); if (_newNode == null) { return; } treeViewLibrary.SelectedNode = _newNode; _textboxHelper.Focus(); }