private void menuItemSettings_Click(object sender, EventArgs e) { new SettingsForm().ShowDialog (this); ShowInTaskbar = Config.ShowInTaskbar; UpdateTray (false); // To enable/disable "Update All" command }