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

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

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

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

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

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

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

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

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

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

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

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

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

            if (MapButton != null)
            {
                MapButton.Dispose();
                MapButton = null;
            }
        }
Esempio n. 3
0
        void ReleaseDesignerOutlets()
        {
            if (ChoosePictureButton != null)
            {
                ChoosePictureButton.Dispose();
                ChoosePictureButton = null;
            }

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

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

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

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

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

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

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

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