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

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

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

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

            if (UILabelHeader != null)
            {
                UILabelHeader.Dispose();
                UILabelHeader = null;
            }
        }
Example #2
0
        void ReleaseDesignerOutlets()
        {
            if (ButtonLeft != null)
            {
                ButtonLeft.Dispose();
                ButtonLeft = null;
            }

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

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