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

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

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

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

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

            if (VCUserType != null)
            {
                VCUserType.Dispose();
                VCUserType = null;
            }
        }
Exemple #2
0
        void ReleaseDesignerOutlets()
        {
            if (VCAdd != null)
            {
                VCAdd.Dispose();
                VCAdd = null;
            }

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

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

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

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

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

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

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

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

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