ARCed.Scintilla.FindReplaceDialog.chkEcmaScript_CheckedChanged C# (CSharp) Method

chkEcmaScript_CheckedChanged() private method

private chkEcmaScript_CheckedChanged ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void
        private void chkEcmaScript_CheckedChanged(object sender, EventArgs e)
        {
            if (((CheckBox)sender).Checked)
            {
                this.chkExplicitCaptureF.Checked = false;
                this.chkExplicitCaptureR.Checked = false;
                this.chkExplicitCaptureF.Enabled = false;
                this.chkExplicitCaptureR.Enabled = false;
                this.chkIgnorePatternWhitespaceF.Checked = false;
                this.chkIgnorePatternWhitespaceR.Checked = false;
                this.chkIgnorePatternWhitespaceF.Enabled = false;
                this.chkIgnorePatternWhitespaceR.Enabled = false;
                this.chkRightToLeftF.Checked = false;
                this.chkRightToLeftR.Checked = false;
                this.chkRightToLeftF.Enabled = false;
                this.chkRightToLeftR.Enabled = false;
                this.chkSinglelineF.Checked = false;
                this.chkSinglelineR.Checked = false;
                this.chkSinglelineF.Enabled = false;
                this.chkSinglelineR.Enabled = false;
            }
            else
            {
                this.chkExplicitCaptureF.Enabled = true;
                this.chkIgnorePatternWhitespaceF.Enabled = true;
                this.chkRightToLeftF.Enabled = true;
                this.chkSinglelineF.Enabled = true;
                this.chkExplicitCaptureR.Enabled = true;
                this.chkIgnorePatternWhitespaceR.Enabled = true;
                this.chkRightToLeftR.Enabled = true;
                this.chkSinglelineR.Enabled = true;
            }
        }