Exemplo n.º 1
0
        private async void CbSelectMIDIOutputDevice_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            Midi.ResetMidiOutput();
            if (cbSelectMIDIOutputDevice != null && cbSelectMIDIOutputDevice.SelectedIndex > -1)
            {
                await Midi.InitOutput(((string)cbSelectMIDIOutputDevice.SelectedItem).Replace("Out: ", ""));

                btnEmulator.Focus(FocusState.Programmatic);
            }
        }