public void Remove(MRUItemConfigurationElement item) { if (BaseIndexOf(item) >= 0) { BaseRemove(item.Name); } }
internal void DeleteByName(string name) { MRUItemConfigurationElement configurationElement = this.ItemByName(name); if (configurationElement != null) { this.Remove(name); } }
internal void EditByName(string oldName, string newName) { MRUItemConfigurationElement configurationElement = this.ItemByName(oldName); if (configurationElement != null) { this[oldName].Name = newName; } }
private static void EditMRUItemConfigurationElement(MRUItemConfigurationElementCollection configurationElementCollection, string oldName, string newName) { MRUItemConfigurationElement configurationElement = configurationElementCollection.ItemByName(oldName); if (configurationElement != null) { configurationElementCollection[oldName].Name = newName; } }
internal void AddByName(string name) { MRUItemConfigurationElement configurationElement = this.ItemByName(name); if (configurationElement == null) { this.Add(new MRUItemConfigurationElement(name)); } }
private static void DeleteMRUItemConfigurationElement(MRUItemConfigurationElementCollection configurationElementCollection, string name) { MRUItemConfigurationElement configurationElement = configurationElementCollection.ItemByName(name); if (configurationElement != null) { configurationElementCollection.Remove(name); } }
private static void AddMRUItemConfigurationElement(MRUItemConfigurationElementCollection configurationElementCollection, string name) { MRUItemConfigurationElement configurationElement = configurationElementCollection.ItemByName(name); if (configurationElement == null) { configurationElementCollection.Add(new MRUItemConfigurationElement(name)); } }
public void Add(MRUItemConfigurationElement item) { BaseAdd(item); }
public int IndexOf(MRUItemConfigurationElement item) { return(BaseIndexOf(item)); }
public void Remove(MRUItemConfigurationElement item) { if (BaseIndexOf(item) >= 0) BaseRemove(item.Name); }
public int IndexOf(MRUItemConfigurationElement item) { return BaseIndexOf(item); }