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

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

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

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

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

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

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

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

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

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