/// <summary> /// Event when Settings menu is clicked. /// </summary> /// <param name="sender">MenuItem</param> /// <param name="e">EventArgs</param> private void SettingsMenuClick(object sender, EventArgs e) { PropertyDialog dialog = new PropertyDialog(m_env.PluginManager.GetPropertySettings()); using (dialog) { if (dialog.ShowDialog() != DialogResult.OK) return; dialog.ApplyChanges(); } }