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

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

            if (UserTitle != null)
            {
                UserTitle.Dispose();
                UserTitle = null;
            }
        }
Esempio n. 2
0
        void ReleaseDesignerOutlets()
        {
            if (AddressHelp != null)
            {
                AddressHelp.Dispose();
                AddressHelp = null;
            }

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

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

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

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

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

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

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

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

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

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