protected void OnCongasRhythmsBoxChanged(object sender, EventArgs e) { ComboBox box = sender as ComboBox; CONGA_RHYTHMS_TYPE rhythmType = CSetup.GetEnumFromStr_CongaRhythmsType(box.ActiveText); SoundLibraryInterface.SetInstrumentRhythm( (uint)INSTRUMENTS_TYPE.INSTRUMENT_CONGAS, (short)rhythmType); }