Example #1
0
        // "Options" Button
        private void OptionsButton_Click(object sender, EventArgs e)
        {
            if (_plugin == null) return;

            OptionsUI dlg = new OptionsUI(_plugin.Options);
            OptionsButton.ForeColor = Color.White;

            if (dlg.ShowDialog(this) == DialogResult.OK)
            {
                _plugin.Options = dlg.TempOptionSet;
            }
            OptionsButton.ForeColor = Color.Black;
        }