Exemplo n.º 1
0
        void ReleaseDesignerOutlets()
        {
            if (AddPhotoButton != null)
            {
                AddPhotoButton.Dispose();
                AddPhotoButton = null;
            }

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

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

            if (NewsTableView != null)
            {
                NewsTableView.Dispose();
                NewsTableView = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (AddPhotoButton != null)
            {
                AddPhotoButton.Dispose();
                AddPhotoButton = null;
            }

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

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

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

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

            if (MachinePhotosCollection != null)
            {
                MachinePhotosCollection.Dispose();
                MachinePhotosCollection = null;
            }
        }
Exemplo n.º 3
0
        void ReleaseDesignerOutlets()
        {
            if (AddItemButton != null)
            {
                AddItemButton.Dispose();
                AddItemButton = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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