Пример #1
0
        void ReleaseDesignerOutlets()
        {
            if (AccountsTable != null)
            {
                AccountsTable.Dispose();
                AccountsTable = null;
            }

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

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

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

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