Esempio n. 1
0
        void ReleaseDesignerOutlets()
        {
            if (ChooseImageButton != null)
            {
                ChooseImageButton.Dispose();
                ChooseImageButton = null;
            }

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

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

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

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

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

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