Multiple checkbox association issues in C#Winform

I am a novice who has changed careers. I am following the video to learn PC software development. After my own testing, I encountered some problems. Record it to prevent this kind of problem from happening again in the future. I also hope to get some advice from you guys. (This is the first time I recorded it, so I was a little cautious, hahahaha)

Project background: The checkbox associated this time is the alarm box and alarm value box (LoLo, Low, HiHi, High and alarm value, priority, comment)

The correlation effect to be achieved: Alarm box – LoLo, Low, HiHi, High – corresponding alarm value, priority, and comment.

Encountered a problem: When LoLo, Low, HiHi, and High are enabled, after canceling the alarm box, the corresponding alarm value, priority, and comment are still enabled.

Proceed as follows:

1. After the program is run, initialization is no problem

2. After the alarm box is checked, LoLo, Low, HiHi and High are enabled, no problem

3. After LoLo, Low, HiHi and High are enabled, the corresponding alarm value, priority and annotation are enabled, no problem

4. At this time, cancel the alarm box. The associated LoLo and Low are disabled, but the corresponding alarm value, priority, and annotation are enabled.

The original code is as follows:

 //Initialize alarm variables
      this.chk_High.Enabled = false;
      this.chk_HiHi.Enabled = false;
      this.chk_LoLo.Enabled = false;
      this.chk_Low.Enabled = false;

   private void chk_IsAlarm_CheckedChanged(object sender, EventArgs e)
        {
            bool var = this.chk_IsAlarm.Checked;
            this.chk_HiHi.Enabled = var;
            this.chk_High.Enabled = var;
            this.chk_LoLo.Enabled = var;
            this.chk_Low.Enabled = var;

        }

        private void chk_LoLo_CheckedChanged(object sender, EventArgs e)
        {
            bool var = chk_LoLo.Checked;
            this.txt_Alarm_LoLo.Enabled = var;
            this.txt_Note_LoLo.Enabled = var;
            this.txt_Priority_LoLo.Enabled = var;
        }

        private void chk_Low_CheckedChanged(object sender, EventArgs e)
        {
            bool var = chk_Low.Checked;
            this.txt_Alarm_Low.Enabled = var;
            this.txt_Note_Low.Enabled = var;
            this.txt_Priority_Low.Enabled = var;
        }

        private void chk_High_CheckedChanged(object sender, EventArgs e)
        {
            bool var = chk_High.Checked;
            this.txt_Alarm_High.Enabled = var;
            this.txt_Note_High.Enabled = var;
            this.txt_Priority_High.Enabled = var;
        }

        private void chk_HiHi_CheckedChanged(object sender, EventArgs e)
        {
            bool var = chk_HiHi.Checked;
            this.txt_Alarm_HiHi.Enabled = var;
            this.txt_Note_HiHi.Enabled = var;
            this.txt_Priority_HiHi.Enabled = var;
        }

Later, after my own thinking and testing, I added a judgment to the alarm box. If everything else remains unchanged, the effect can be achieved. The code is as follows:

 private void chk_IsAlarm_CheckedChanged(object sender, EventArgs e)
        {
            bool var = this.chk_IsAlarm.Checked;
            //LoLo
            this.chk_LoLo.Enabled = var;
            if (!this.chk_IsAlarm.Checked)
            {
                this.txt_Alarm_LoLo.Enabled = false;
                this.txt_Note_LoLo.Enabled = false;
                this.txt_Priority_LoLo.Enabled = false;
            }
            else
            {
                if (this.chk_LoLo.Checked)
                {
                    this.txt_Alarm_LoLo.Enabled = true;
                    this.txt_Note_LoLo.Enabled = true;
                    this.txt_Priority_LoLo.Enabled = true;
                }
                else
                {
                    this.txt_Alarm_LoLo.Enabled = false;
                    this.txt_Note_LoLo.Enabled = false;
                    this.txt_Priority_LoLo.Enabled = false;
                }
            }

            //HiHi
            this.chk_HiHi.Enabled = var;
            if (!this.chk_IsAlarm.Checked)
            {
                this.txt_Alarm_HiHi.Enabled = false;
                this.txt_Note_HiHi.Enabled = false;
                this.txt_Priority_HiHi.Enabled = false;
            }
            else
            {
                if (this.chk_HiHi.Checked)
                {
                    this.txt_Alarm_HiHi.Enabled = true;
                    this.txt_Note_HiHi.Enabled = true;
                    this.txt_Priority_HiHi.Enabled = true;
                }
                else
                {
                    this.txt_Alarm_HiHi.Enabled = false;
                    this.txt_Note_HiHi.Enabled = false;
                    this.txt_Priority_HiHi.Enabled = false;
                }
            }

            //High
            this.chk_High.Enabled = var;
            if (!this.chk_IsAlarm.Checked)
            {
                this.txt_Alarm_High.Enabled = false;
                this.txt_Note_High.Enabled = false;
                this.txt_Priority_High.Enabled = false;
            }
            else
            {
                if (this.chk_High.Checked)
                {
                    this.txt_Alarm_High.Enabled = true;
                    this.txt_Note_High.Enabled = true;
                    this.txt_Priority_High.Enabled = true;
                }
                else
                {
                    this.txt_Alarm_High.Enabled = false;
                    this.txt_Note_High.Enabled = false;
                    this.txt_Priority_High.Enabled = false;
                }
            }

            //Low
            this.chk_Low.Enabled = var;
            if (!this.chk_IsAlarm.Checked)
            {
                this.txt_Alarm_Low.Enabled = false;
                this.txt_Note_Low.Enabled = false;
                this.txt_Priority_Low.Enabled = false;
            }
            else
            {
                if (this.chk_Low.Checked)
                {
                    this.txt_Alarm_Low.Enabled = true;
                    this.txt_Note_Low.Enabled = true;
                    this.txt_Priority_Low.Enabled = true;
                }
                else
                {
                    this.txt_Alarm_Low.Enabled = false;
                    this.txt_Note_Low.Enabled = false;
                    this.txt_Priority_Low.Enabled = false;
                }
            }
        }

Although the effect can be achieved, the code becomes cumbersome. If there are other methods, please give some advice, thank you!