예제 #1
0
        void ReleaseDesignerOutlets()
        {
            if (ShadowCheckbox != null)
            {
                ShadowCheckbox.Dispose();
                ShadowCheckbox = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (VerticalShadowBlurValue != null)
            {
                VerticalShadowBlurValue.Dispose();
                VerticalShadowBlurValue = null;
            }
        }
예제 #3
0
        void ReleaseDesignerOutlets()
        {
            if (DesignPreview != null)
            {
                DesignPreview.Dispose();
                DesignPreview = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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