コード例 #1
0
        void ReleaseDesignerOutlets()
        {
            if (DescriptionWidth != null)
            {
                DescriptionWidth.Dispose();
                DescriptionWidth = null;
            }

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

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

            if (TaskWidth != null)
            {
                TaskWidth.Dispose();
                TaskWidth = null;
            }
        }
コード例 #2
0
        void ReleaseDesignerOutlets()
        {
            if (ClientView != null)
            {
                ClientView.Dispose();
                ClientView = null;
            }

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

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

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

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

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