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

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

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

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

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