Пример #1
0
        void ReleaseDesignerOutlets()
        {
            if (appraisalDate != null)
            {
                appraisalDate.Dispose();
                appraisalDate = null;
            }

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

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

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

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

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

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

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