Beispiel #1
0
        void ReleaseDesignerOutlets()
        {
            if (AccuracyLabel != null)
            {
                AccuracyLabel.Dispose();
                AccuracyLabel = null;
            }

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

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

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

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