//Application routines
        private void SaveLists()
        {
            try
            {
                DisableFormControls();
                this.Cursor = Cursors.WaitCursor;

                for (int i = 0; i < _connMgr.ProviderDefinitions.Count; i++)
                {
                    _connMgr.ProviderDefinitions[i].Value.AvailableForSelection = GetAvailableForSelectionValue(_connMgr.ProviderDefinitions[i].Key);
                    _connMgr.SaveProvider(_connMgr.ProviderDefinitions[i].Value);
                }
                _connMgr.SaveProvidersListToFile();

                _dataHasPendingChanges = false;

                _providerListHasBeenChanged = true;

                AppMessages.DisplayInfoMessage("Provider selections have been saved.");
            }
            catch (System.Exception ex)
            {
                _msg.Length = 0;
                _msg.Append(AppGlobals.AppMessages.FormatErrorMessage(ex));
                throw new System.Exception(_msg.ToString());
            }
            finally
            {
                EnableFormControls();
                this.Cursor = Cursors.Default;
            }
        }