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

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

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

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

            if (ResetToDefaultsSwitch != null)
            {
                ResetToDefaultsSwitch.Dispose();
                ResetToDefaultsSwitch = null;
            }
        }
예제 #2
0
        void ReleaseDesignerOutlets()
        {
            if (ContinueButton != null)
            {
                ContinueButton.Dispose();
                ContinueButton = null;
            }

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

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