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

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

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

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

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

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

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

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

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

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

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

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

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

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

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