void ReleaseDesignerOutlets() { if (btnHome != null) { btnHome.Dispose(); btnHome = null; } if (btnLogout != null) { btnLogout.Dispose(); btnLogout = null; } if (btnNotify != null) { btnNotify.Dispose(); btnNotify = null; } if (btnSync != null) { btnSync.Dispose(); btnSync = null; } if (btnViewLog != null) { btnViewLog.Dispose(); btnViewLog = null; } if (reportBtn != null) { reportBtn.Dispose(); reportBtn = null; } if (DashboardLHSView != null) { DashboardLHSView.Dispose(); DashboardLHSView = null; } if (DashboardView != null) { DashboardView.Dispose(); DashboardView = null; } if (headerView != null) { headerView.Dispose(); headerView = null; } if (lblDate != null) { lblDate.Dispose(); lblDate = null; } if (LblNotifyNbr != null) { LblNotifyNbr.Dispose(); LblNotifyNbr = null; } if (lblSyncNumber != null) { lblSyncNumber.Dispose(); lblSyncNumber = null; } if (lblUserName != null) { lblUserName.Dispose(); lblUserName = null; } if (ProjectDetailView != null) { ProjectDetailView.Dispose(); ProjectDetailView = null; } }
void ReleaseDesignerOutlets() { if (btnEdit != null) { btnEdit.Dispose(); btnEdit = null; } if (btnFinalizeSave != null) { btnFinalizeSave.Dispose(); btnFinalizeSave = null; } if (btnHome != null) { btnHome.Dispose(); btnHome = null; } if (btnLogOut != null) { btnLogOut.Dispose(); btnLogOut = null; } if (btnNotify != null) { btnNotify.Dispose(); btnNotify = null; } if (btnPrintPreview != null) { btnPrintPreview.Dispose(); btnPrintPreview = null; } if (btnSync != null) { btnSync.Dispose(); btnSync = null; } if (headerView != null) { headerView.Dispose(); headerView = null; } if (ImgWebView != null) { ImgWebView.Dispose(); ImgWebView = null; } if (InspectionView != null) { InspectionView.Dispose(); InspectionView = null; } if (lblAddress1 != null) { lblAddress1.Dispose(); lblAddress1 = null; } if (lblAddress2 != null) { lblAddress2.Dispose(); lblAddress2 = null; } if (lblCalDate != null) { lblCalDate.Dispose(); lblCalDate = null; } if (lblCalDay != null) { lblCalDay.Dispose(); lblCalDay = null; } if (lblFailMessage != null) { lblFailMessage.Dispose(); lblFailMessage = null; } if (lblInspectionDate != null) { lblInspectionDate.Dispose(); lblInspectionDate = null; } if (lblInspectionType != null) { lblInspectionType.Dispose(); lblInspectionType = null; } if (lblInspectorName != null) { lblInspectorName.Dispose(); lblInspectorName = null; } if (LblNotifyNbr != null) { LblNotifyNbr.Dispose(); LblNotifyNbr = null; } if (lblOwnerName != null) { lblOwnerName.Dispose(); lblOwnerName = null; } if (lblPathway != null) { lblPathway.Dispose(); lblPathway = null; } if (lblPhoneNumber != null) { lblPhoneNumber.Dispose(); lblPhoneNumber = null; } if (lblSyncNumber != null) { lblSyncNumber.Dispose(); lblSyncNumber = null; } if (leftlblInspectionDate != null) { leftlblInspectionDate.Dispose(); leftlblInspectionDate = null; } if (reportPhotoSegment != null) { reportPhotoSegment.Dispose(); reportPhotoSegment = null; } if (WebViewScrollView != null) { WebViewScrollView.Dispose(); WebViewScrollView = null; } if (WVReport != null) { WVReport.Dispose(); WVReport = null; } }
void ReleaseDesignerOutlets() { if (addPictureView != null) { addPictureView.Dispose(); addPictureView = null; } if (beginInspectionButton != null) { beginInspectionButton.Dispose(); beginInspectionButton = null; } if (btnClearSearch != null) { btnClearSearch.Dispose(); btnClearSearch = null; } if (btnFinish != null) { btnFinish.Dispose(); btnFinish = null; } if (btnHome != null) { btnHome.Dispose(); btnHome = null; } if (btnLogout != null) { btnLogout.Dispose(); btnLogout = null; } if (btnNext != null) { btnNext.Dispose(); btnNext = null; } if (btnNotify != null) { btnNotify.Dispose(); btnNotify = null; } if (btnSave != null) { btnSave.Dispose(); btnSave = null; } if (btnSearchOptions != null) { btnSearchOptions.Dispose(); btnSearchOptions = null; } if (btnSelectAll != null) { btnSelectAll.Dispose(); btnSelectAll = null; } if (btnSync != null) { btnSync.Dispose(); btnSync = null; } if (cameraImage != null) { cameraImage.Dispose(); cameraImage = null; } if (createPunchListBtn != null) { createPunchListBtn.Dispose(); createPunchListBtn = null; } if (docViewBtn != null) { docViewBtn.Dispose(); docViewBtn = null; } if (headerView != null) { headerView.Dispose(); headerView = null; } if (htLblSequence != null) { htLblSequence.Dispose(); htLblSequence = null; } if (imageCollectionView != null) { imageCollectionView.Dispose(); imageCollectionView = null; } if (imageShowView != null) { imageShowView.Dispose(); imageShowView = null; } if (imagesScrollView != null) { imagesScrollView.Dispose(); imagesScrollView = null; } if (inspectionViewScrollView != null) { inspectionViewScrollView.Dispose(); inspectionViewScrollView = null; } if (lblAddress1 != null) { lblAddress1.Dispose(); lblAddress1 = null; } if (lblAddress2 != null) { lblAddress2.Dispose(); lblAddress2 = null; } if (lblCalDate != null) { lblCalDate.Dispose(); lblCalDate = null; } if (lblCalDay != null) { lblCalDay.Dispose(); lblCalDay = null; } if (lblInspectionDate != null) { lblInspectionDate.Dispose(); lblInspectionDate = null; } if (lblinspectionName != null) { lblinspectionName.Dispose(); lblinspectionName = null; } if (lblinspectionNameRight != null) { lblinspectionNameRight.Dispose(); lblinspectionNameRight = null; } if (lblInspectionType != null) { lblInspectionType.Dispose(); lblInspectionType = null; } if (LblNotifyNbr != null) { LblNotifyNbr.Dispose(); LblNotifyNbr = null; } if (lblOwnerName != null) { lblOwnerName.Dispose(); lblOwnerName = null; } if (lblPhoneNumber != null) { lblPhoneNumber.Dispose(); lblPhoneNumber = null; } if (lblSearchOptions != null) { lblSearchOptions.Dispose(); lblSearchOptions = null; } if (lblSequence != null) { lblSequence.Dispose(); lblSequence = null; } if (lblSyncNumber != null) { lblSyncNumber.Dispose(); lblSyncNumber = null; } if (locationIdHeaderLabel != null) { locationIdHeaderLabel.Dispose(); locationIdHeaderLabel = null; } if (OptionsTableView != null) { OptionsTableView.Dispose(); OptionsTableView = null; } if (ownerDetailsView != null) { ownerDetailsView.Dispose(); ownerDetailsView = null; } if (progressInspectionBtn != null) { progressInspectionBtn.Dispose(); progressInspectionBtn = null; } if (punchAddItemBtn != null) { punchAddItemBtn.Dispose(); punchAddItemBtn = null; } if (punchFinishButton != null) { punchFinishButton.Dispose(); punchFinishButton = null; } if (rhsHeaderHeightConstraint != null) { rhsHeaderHeightConstraint.Dispose(); rhsHeaderHeightConstraint = null; } if (rhsTableHeaderView != null) { rhsTableHeaderView.Dispose(); rhsTableHeaderView = null; } if (sequenceTable != null) { sequenceTable.Dispose(); sequenceTable = null; } if (spSequenceLabel != null) { spSequenceLabel.Dispose(); spSequenceLabel = null; } if (takePictureBtn != null) { takePictureBtn.Dispose(); takePictureBtn = null; } if (takePictureButton != null) { takePictureButton.Dispose(); takePictureButton = null; } if (takePictureView != null) { takePictureView.Dispose(); takePictureView = null; } if (txtSearchOptions != null) { txtSearchOptions.Dispose(); txtSearchOptions = null; } }