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

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

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

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

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

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

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

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

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

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

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

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