private void DisableControls() { if (m_controlsToDisable != null) { foreach (var control in m_controlsToDisable) control.Enabled = false; } }