Exemplo n.º 1
0
        void ReleaseDesignerOutlets()
        {
            if (AccountNumberLabel != null)
            {
                AccountNumberLabel.Dispose();
                AccountNumberLabel = null;
            }

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

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

            if (VersionNumberLabel != null)
            {
                VersionNumberLabel.Dispose();
                VersionNumberLabel = null;
            }
        }
Exemplo n.º 2
0
        void ReleaseDesignerOutlets()
        {
            if (AccountNumberLabel != null)
            {
                AccountNumberLabel.Dispose();
                AccountNumberLabel = null;
            }

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

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