private void refractoRing_cbx_CheckedChanged(object sender, EventArgs e) { tricam.SetRefractoIRRing(refractoRing_cbx.Checked); refractoRing_cbx.Refresh(); DialogResult res = MessageBox.Show("Is Refracto Ring working ?", "CalibrationTool", MessageBoxButtons.YesNo, MessageBoxIcon.Question); if (res == DialogResult.Yes) { Globals.currentSettings.memoryTestStruct.IRRing = PassStr; } else { Globals.currentSettings.memoryTestStruct.IRRing = FailStr; } }