/// <summary> /// Shows the view. /// </summary> /// <param name="settings">The settings.</param> public void ShowView( List<AttributeValue> settings ) { ShowHighlightLabels( settings ); lUserName.Text = GetSettingValue( settings, "UserName" ); lPassword.Text = "********"; using ( var rockContext = new RockContext() ) { var packages = new DefinedValueService( rockContext ) .GetByDefinedTypeGuid( Rock.SystemGuid.DefinedType.PROTECT_MY_MINISTRY_PACKAGES.AsGuid() ) .Select( v => v.Value ) .ToList(); lPackages.Text = packages.AsDelimited( "<br/>" ); } pnlNew.Visible = false; pnlViewDetails.Visible = true; pnlEditDetails.Visible = false; pnlPackages.Visible = false; HideSecondaryBlocks( false ); }