// Returns true if the search is to continue
        internal bool NodeLooking(BrowserFinder finder, ISearchNode node)
        {
            if (TraceUtil.If(this, TraceLevel.Verbose))
            {
                Trace.WriteLine("node looking: " + node.GetType().Name
                                + " " + finder.GetFullName());
            }

            if (_cancelled)
            {
                return(false);
            }

            _lookingNodeCount++;

            // Show it as its found
            if ((_lookingNodeCount % 10) == 0)
            {
                _lookingLabel.Text = StringParser.Parse("${res:ComponentInspector.FindDialog.LookingAtLabel}");
                _lookingNode.Text  = finder.GetFullName();
                Application.DoEvents();
            }

            return(true);
        }
        internal bool NodeFound(BrowserFinder finder, ISearchNode node)
        {
            if (TraceUtil.If(this, TraceLevel.Verbose))
            {
                Trace.WriteLine("node found: " + node.GetType().Name
                                + " " + finder.GetFullName());
            }

            ListViewItem li = new ListViewItem();

            li.Text       = finder.GetFullName();
            li.Tag        = node.GetSearchMaterializer(finder);
            li.ImageIndex = node.GetImageIndex();
            _foundList.Items.Add(li);

            // Show it as its found
            Application.DoEvents();

            return(true);
        }
		// Returns true if the search is to continue
		internal bool NodeLooking(BrowserFinder finder, ISearchNode node)
		{
			if (TraceUtil.If(this, TraceLevel.Verbose)) {
				Trace.WriteLine("node looking: " + node.GetType().Name
				                + " " + finder.GetFullName());
			}

			if (_cancelled)
				return false;

			_lookingNodeCount++;

			// Show it as its found
			if ((_lookingNodeCount % 10) == 0) {
				_lookingLabel.Text = StringParser.Parse("${res:ComponentInspector.FindDialog.LookingAtLabel}");
				_lookingNode.Text = finder.GetFullName();
				Application.DoEvents();
			}

			return true;
		}
		internal bool NodeFound(BrowserFinder finder, ISearchNode node)
		{
			if (TraceUtil.If(this, TraceLevel.Verbose)) {
				Trace.WriteLine("node found: " + node.GetType().Name
				                + " " + finder.GetFullName());
			}

			ListViewItem li = new ListViewItem();
			li.Text = finder.GetFullName();
			li.Tag = node.GetSearchMaterializer(finder);
			li.ImageIndex = node.GetImageIndex();
			_foundList.Items.Add(li);

			// Show it as its found
			Application.DoEvents();

			return true;
		}