Ejemplo n.º 1
0
        private void buttonSetting_Click(object sender, EventArgs e)
        {
            if (comboBoxProfile.SelectedIndex != -1)
            {
                string item = (string)comboBoxProfile.SelectedItem;

                item = item.Split(':')[0];
                manager.Search(item).Apply();
                RefreshRadioButtons();
            }
        }
Ejemplo n.º 2
0
        private void buttonProfileEdit_Click(object sender, EventArgs e)
        {
            Profile profile = manager.Search((string)listBoxProfile.Items[index]);

            using (var dlg = new FormProfileEdit(manager, profile))
            {
                dlg.ShowDialog(this);
            }

            UpdateListBox();

            UpdateButtons(false);
        }