private void checkBoxUseNotifyIcon_CheckedChanged(object sender, EventArgs e) { bool chk = checkBoxUseNotifyIcon.Checked; EDDiscoveryForm.EDDConfig.UseNotifyIcon = chk; checkBoxMinimizeToNotifyIcon.Enabled = chk; _discoveryForm.useNotifyIconChanged(chk); }