Esempio n. 1
0
        void ReleaseDesignerOutlets()
        {
            if (CountryPopUpButton != null)
            {
                CountryPopUpButton.Dispose();
                CountryPopUpButton = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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