private void corneaWhiteRing_cbx_CheckedChanged(object sender, EventArgs e) { tricam.SetCorneaWhiteRing(corneaWhiteRing_cbx.Checked); corneaWhiteRing_cbx.Refresh(); DialogResult res = MessageBox.Show("Is Cornea White Light working ?", "CalibrationTool", MessageBoxButtons.YesNo, MessageBoxIcon.Question); if (res == DialogResult.Yes) { Globals.currentSettings.memoryTestStruct.WhiteLightRing = PassStr; } else { Globals.currentSettings.memoryTestStruct.WhiteLightRing = FailStr; } }