private void logCheckBox_CheckedChanged(object sender, EventArgs e) { if (logCheckBox.Checked) { controller.StartLogger(); } else { controller.StopLogger(); } }