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

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

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

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

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

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

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

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

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

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

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

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

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

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