AA2Install.formMain.setEnabled C# (CSharp) Method

setEnabled() public method

Sets enabled status of essential controls.
public setEnabled ( bool enabled ) : void
enabled bool Sets enabled status to this.
return void
        public void setEnabled(bool enabled)
        {
            lsvMods.Enabled = btnApply.Enabled = btnRefresh.Enabled =
                checkAA2EDIT.Enabled = txtAA2EDIT.Enabled = btnAA2EDIT.Enabled =
                checkAA2PLAY.Enabled = txtAA2PLAY.Enabled = btnAA2PLAY.Enabled =
                checkConflicts.Enabled = btnMigrate.Enabled = btnBrowseMigrate.Enabled =
                txtMigrate.Enabled = txtBrowseMigrate.Enabled = btnCancel.Enabled = 
                cmbSorting.Enabled = checkSuppress.Enabled = checkCompatibility.Enabled =
                enabled;
        }