private void Next_Click(object sender, EventArgs e)
        {
            credentialDescriptionType = comboCredential.Text;

            var applicationSelected = DataProcessingMethods.GetApplication(appData, appName);


            this.appURL        = applicationSelected.Name;
            this.ApplicationID = applicationSelected.ApplicationID;


            var uniformResourceSelection = DataProcessingMethods.GetCredential(credentialData, credentialDescriptionType);

            this.UniformResourceNameId = uniformResourceSelection.UniformResourceNameId;
            this.credID = uniformResourceSelection.CredentialID;



            var URNData = DataProcessingMethods.GetURNData(appName, UniformResourceNameId);

            LAFUniformResourceNameData URNSelection = DataProcessingMethods.GetURN(URNData, UniformResourceNameId);


            this.credURNName = URNSelection.Name;
            this.Urn         = URNSelection.Urn;



            DataProcessingMethods.InsertUserGroupCredentialValues(userGroupCredentialsToLoad, credentialDescriptionType, txtChangeDesc.Text, filename, progressBar1, chkAudit, Urn, ApplicationID);
        }
        private void Next_Click(object sender, EventArgs e)
        {
            credentialDescriptionType = comboCredential.Text;

            var applicationSelected = DataProcessingMethods.GetApplication(appData, appName);


            this.appURL        = applicationSelected.ApplicationUrl;
            this.ApplicationID = applicationSelected.ApplicationID;

            var sourceAppSelected = DataProcessingMethods.GetApplication(appData, srcAppName);

            if (!(sourceAppSelected == null))
            {
                this.sourceApplicationURL = sourceAppSelected.ApplicationUrl;
            }



            var credentialSelection = DataProcessingMethods.GetCredential(credData, credentialDescriptionType);

            this.UniformResourceNameId = credentialSelection.UniformResourceNameId;
            this.credID = credentialSelection.CredentialID;



            var URNData = DataProcessingMethods.GetURNData(appName, UniformResourceNameId);

            LAFUniformResourceNameData URNSelection = DataProcessingMethods.GetURN(URNData, UniformResourceNameId);


            this.credURNName = URNSelection.Name;
            this.Urn         = URNSelection.Urn;



            DataProcessingMethods.InsertCredentialValues(credentialsToLoad, credentialDescriptionType, txtChangeDesc.Text, filename, progressBar1, chkAudit, appName, credURNName, appURL, Urn, ApplicationID, credID, UniformResourceNameId, sourceApplicationURL);
        }