Ejemplo n.º 1
0
        private void editProfileButton_Click(object sender, EventArgs e)
        {
            if (profilesListView.SelectedItems.Count <= 0)
            {
                return;
            }

            var profile = (Profile)profilesListView.SelectedItems[0].Tag;
            var form    = new UpsertProfileExtended(profile, _audioDeviceLister.PlaybackDevices, _audioDeviceLister.RecordingDevices, this, true);

            form.Show(this);
        }
Ejemplo n.º 2
0
        private void addProfileButton_Click(object sender, EventArgs e)
        {
            var form = new UpsertProfileExtended(new Profile(), _audioDeviceLister.PlaybackDevices, _audioDeviceLister.RecordingDevices, this);

            form.Show(this);
        }