BC_Logger_control.Form1.checkBoxcustomEdit_CheckedChanged C# (CSharp) Method

checkBoxcustomEdit_CheckedChanged() private method

private checkBoxcustomEdit_CheckedChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        private void checkBoxcustomEdit_CheckedChanged(object sender, EventArgs e)
        {
            if (checkBox_customEdit.Checked == true)
            {
                textBox_getScustom.Enabled = true;
                textBox_getLcustom.Enabled = true;
                textBox_getDcustom.Enabled = true;
                textBox_getLncustom.Enabled = true;
                textBox_getDncustom.Enabled = true;
                textBox_delLogcustom.Enabled = true;
                textBox_getTcustom.Enabled = true;
                textBox_setIcustom.Enabled = true;
                textBox_setCcustom.Enabled = true;
                textBox_setPcustom.Enabled = true;
                textBox_setTcustom.Enabled = true;
                textBox_setNcustom.Enabled = true;
                textBox_setLcustom.Enabled = true;
            }
            else
            {
                textBox_getScustom.Enabled = false;
                textBox_getLcustom.Enabled = false;
                textBox_getDcustom.Enabled = false;
                textBox_getLncustom.Enabled = false;
                textBox_getDncustom.Enabled = false;
                textBox_delLogcustom.Enabled = false;
                textBox_getTcustom.Enabled = false;
                textBox_setIcustom.Enabled = false;
                textBox_setCcustom.Enabled = false;
                textBox_setPcustom.Enabled = false;
                textBox_setTcustom.Enabled = false;
                textBox_setNcustom.Enabled = false;
                textBox_setLcustom.Enabled = false;
            }
        }