예제 #1
0
        private void _findForm_FindNextClicked(object sender, EventArgs e)
        {
            FindForm form = sender as FindForm;

            if (_currentFind == null || _currentFind.FindText != form.FindText)
            {
                _currentFind = new Finder(CurrentSource, form.FindText, form.FindOptions);
            }

            FindNext();
        }
예제 #2
0
        private void MainFormInit()
        {
            _settings = ARSettings.Default;

            if (_settings.MruList == null)
            {
                _settings.MruList = new StringCollection();
            }

            _findForm = new FindForm();
            _viewers  = new TypeViewerList();
            _mru      = new Mru(_settings.MruCount, _settings.MruList, StringComparison.InvariantCultureIgnoreCase);

            /////////////////

            __stateImages.Images.Add("Add", Resources.Tree_Add);
            __stateImages.Images.Add("Upd", Resources.Tree_Rep);
            __stateImages.Images.Add("Del", Resources.Tree_Del);

            MainForm.LatestInstance = this;
        }