Пример #1
0
        private void FillListBox()
        {
            entryListListBox.Items.Clear();

            entriesNew         = new EntryList();
            entriesNew.MaxSize = maxSize;

            entryListListBox.BeginUpdate();

            for (int i = 0; i < entries.Count; i++)
            {
                entryListListBox.Items.Add(entries[i]);
                entriesNew.Add(entries[i]);
            }

            entryListListBox.EndUpdate();
        }