public void Initialize()
        {
            var pads = LaunchpadInterface.getConnectedLaunchpads();

            foreach (var Pad in pads)
            {
                cboLaunchpadIn.Items.Add(Pad._midiName);
            }
            cboLaunchpadIn.SelectedIndex = Config.Launchpad;

            for (int n = -1; n < WaveOut.DeviceCount; n++)
            {
                var caps = WaveOut.GetCapabilities(n);
                cboOutputDevice.Items.Add(caps.ProductName);
            }
            cboOutputDevice.SelectedIndex = Config.Output + 1;

            if (Config.PushToTalk == null)
            {
                Config.PushToTalk = new LPPushToTalk()
                {
                    Enabled     = false,
                    MouseButton = PushToTalkButton.MOUSE4
                };
            }

            chkEnablePTT.IsChecked  = Config.PushToTalk.Enabled;
            cboPTTKey.SelectedIndex = (int)Config.PushToTalk.MouseButton;
        }
        public void Initialize()
        {
            Launchpad.Disconnect();

            var Interfaces = LaunchpadInterface.getConnectedLaunchpads();

            Launchpad.Connect(Interfaces[Config.Launchpad]);
        }