void ReleaseDesignerOutlets()
        {
            if (MoreDetailsButton != null)
            {
                MoreDetailsButton.Dispose();
                MoreDetailsButton = null;
            }

            if (ResearchConsentDesc != null)
            {
                ResearchConsentDesc.Dispose();
                ResearchConsentDesc = null;
            }

            if (ResearchConsentFormDetails != null)
            {
                ResearchConsentFormDetails.Dispose();
                ResearchConsentFormDetails = null;
            }

            if (ResearchConsentFormSwitch != null)
            {
                ResearchConsentFormSwitch.Dispose();
                ResearchConsentFormSwitch = null;
            }

            if (ResearchConsentSubmit != null)
            {
                ResearchConsentSubmit.Dispose();
                ResearchConsentSubmit = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (ResearchConsentDesc != null)
            {
                ResearchConsentDesc.Dispose();
                ResearchConsentDesc = null;
            }

            if (ResearchConsentFormDetails != null)
            {
                ResearchConsentFormDetails.Dispose();
                ResearchConsentFormDetails = null;
            }

            if (ResearchConsentFormSwitch != null)
            {
                ResearchConsentFormSwitch.Dispose();
                ResearchConsentFormSwitch = null;
            }

            if (ResearchConsentSubmit != null)
            {
                ResearchConsentSubmit.Dispose();
                ResearchConsentSubmit = null;
            }

            if (ResearchConsentSV != null)
            {
                ResearchConsentSV.Dispose();
                ResearchConsentSV = null;
            }

            if (ResearchConsentTitle != null)
            {
                ResearchConsentTitle.Dispose();
                ResearchConsentTitle = null;
            }
        }