private void PluginListBox_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            int index = PluginListBox.IndexFromPoint(e.Location);

            if (index != ListBox.NoMatches)
            {
                SelectedPluginData = (PluginData)PluginListBox.Items[index];
                DialogResult       = DialogResult.OK;
            }
        }
Example #2
0
 private void EnabledCheckBox_Click(object sender, EventArgs e)
 {
     Plugins[IndexPlugin(PluginListBox.Items[PluginListBox.SelectedIndex].ToString())].enabled = EnabledCheckBox.Checked;
     SaveChanges();
     PluginListBox.Focus();
 }