Example #1
0
		public void Remove(MixerControl mixerControl)
		{
			if (this.InnerList.Contains(mixerControl))
			{
				this.InnerList.Remove(mixerControl);
				return;
			}

			MixerControl mixerControlToRemove = null;
			foreach(MixerControl mixerControlLoop in this.InnerList)
			{
				if (mixerControlLoop.Id		== mixerControl.Id &&
					mixerControlLoop.Name	== mixerControl.Name &&
					mixerControlLoop.Line	== mixerControl.Line)
				{
					mixerControlToRemove = mixerControlLoop;
					break;
				}
			}
			
			if (mixerControlToRemove != null)
				this.InnerList.Remove(mixerControlToRemove);
		}
Example #2
0
		public void Add(MixerControl mixerControl)
		{
			this.InnerList.Add(mixerControl);
		}