Esempio n. 1
0
        public void PopulateCharacterList(object sender, TextEventArgs e)
        {
            if (_blnSkipUpdate)
            {
                return;
            }

            SuspendLayout();
            if (e?.Text != "mru")
            {
                treCharacterList.Nodes.Clear();
                _lstCharacterCache.Clear();
                LoadCharacters();
                GC.Collect();
            }
            else
            {
                LoadCharacters(false);
            }
            ResumeLayout();
        }