Example #1
0
        private void InitializeNewSearch()
        {
            bool tooManyEntries = false;

            _list = EditorActions.FindUntextured(cbSelectedRooms.Checked, _maxEntries, out tooManyEntries);

            lblStatus.Text = "Search finished. ";
            if (tooManyEntries)
            {
                lblStatus.Text += "Too many entries, showing first " + _list.Count + ".";
            }
            else if (_list.Count == 0)
            {
                lblStatus.Text += "No untextured blocks found.";
            }
            else
            {
                lblStatus.Text += "Found " + _list.Count + " untextured blocks.";
            }

            RefreshList();
        }