public void UpdateSourceVisible(uint aIndex, bool aVisible) { TestSource source = iSourceList[(int)aIndex]; TestSource update = new TestSource(source.Name, source.Type, aVisible); iSourceList[(int)aIndex] = update; UpdateSource(aIndex); }
public void UpdateSourceName(uint aIndex, string aName) { TestSource source = iSourceList[(int)aIndex]; TestSource update = new TestSource(aName, source.Type, source.Visible); iSourceList[(int)aIndex] = update; UpdateSource(aIndex); }