Пример #1
0
        public void SearchDiscoveryCallback(DataNode node)
        {
            _controller.SelectNode(node);

            if (_searchForm != null)
            {
                _searchForm.DialogResult = DialogResult.OK;
                _searchForm = null;
            }
        }
Пример #2
0
        private void SearchDiscoveryCallback(DataNode node)
        {
            _mainController.SelectNode(node);
            _mainController.ExpandSelectedNode();

            if (_searchForm != null)
            {
                _searchForm.DialogResult = DialogResult.OK;
                _searchForm = null;
            }

            _currentFindNode = node;
        }