Summary description for PresetCollection.
Inheritance: IEnumerable
示例#1
0
		public void LoadPresets(PresetCollection presets)
		{
			try
			{
				_lvPresetList.BeginUpdate();
				_lvPresetList.Items.Clear();

				foreach (DictionaryEntry de in presets)
					_lvPresetList.Items.Add(
						new ListViewItem((string)de.Key));
			}
			finally
			{
				_lvPresetList.EndUpdate();
			}
		}
示例#2
0
        public void LoadPresets(PresetCollection presets)
        {
            try
            {
                _lvPresetList.BeginUpdate();
                _lvPresetList.Items.Clear();

                foreach (DictionaryEntry de in presets)
                {
                    _lvPresetList.Items.Add(
                        new ListViewItem((string)de.Key));
                }
            }
            finally
            {
                _lvPresetList.EndUpdate();
            }
        }