ATMLCommonLibrary.controls.MailingAddressControl.OnEnabledChanged C# (CSharp) Method

OnEnabledChanged() protected method

protected OnEnabledChanged ( EventArgs e ) : void
e EventArgs
return void
        protected override void OnEnabledChanged( EventArgs e )
        {
            base.OnEnabledChanged( e );
            edtMailingAddress1.BackColor = Enabled ? _clrWrite : _clrReadOnly;
            edtMailingAddress2.BackColor = Enabled ? _clrWrite : _clrReadOnly;
            edtMailingCity.BackColor = Enabled ? _clrWrite : _clrReadOnly;
            edtMailingPostalCode.BackColor = Enabled ? _clrWrite : _clrReadOnly;
            cbMailingCountry.BackColor = Enabled ? _clrWrite : _clrReadOnly;
            cbMailingState.BackColor = Enabled ? _clrWrite : _clrReadOnly;
        }