public OneSynth(INoteSynth synth) { this.synth = synth; InitializeComponent(); slSelect.Selected = synth.SoundLine; slSelect.Generate(); }
private void SynthSelect_OnChanged(SynthSelect arg1, INoteSynth sound) { notes.Sound = sound; }
private void project_synthAdded(int index, INoteSynth synth) { var oneSynth = new OneSynth(synth); SynthList.Children.Insert(index, oneSynth); }