Пример #1
0
    protected void OnBongosRhythmsBoxChanged(object sender, EventArgs e)
    {
        ComboBox           box        = sender as ComboBox;
        BONGO_RHYTHMS_TYPE rhythmType =
            CSetup.GetEnumFromStr_BongosRhythmsType(box.ActiveText);

        SoundLibraryInterface.SetInstrumentRhythm(
            (uint)INSTRUMENTS_TYPE.INSTRUMENT_BONGOS,
            (short)rhythmType);
    }