private void numericUpDownPosition_ValueChanged(object sender, EventArgs e) { checkBoxDisplay.Checked = mParam.IsEventDisplayed(0, (int)numericUpDownPosition.Value); checkBoxEvent.Checked = mParam.IsEventOrError(0, (int)numericUpDownPosition.Value); checkBoxHidden.Checked = mParam.IsEventHidden(0, (int)numericUpDownPosition.Value); checkBoxBlueLed.Checked = mParam.IsEventBlueLed(0, (int)numericUpDownPosition.Value); for (int i = 0; i < mParam.GetUsedLanguages(); i++) { lsuc[i].LanguageString = mParam.GetErrorName(i, (int)numericUpDownPosition.Value); lsuc[i].UpdataData(false); } }