void ReleaseDesignerOutlets() { if (CommentsLabel != null) { CommentsLabel.Dispose(); CommentsLabel = null; } if (CommentsTextView != null) { CommentsTextView.Dispose(); CommentsTextView = null; } if (CommentsView != null) { CommentsView.Dispose(); CommentsView = null; } if (imgScrollViewHeightCnstrnt != null) { imgScrollViewHeightCnstrnt.Dispose(); imgScrollViewHeightCnstrnt = null; } if (PunchHeading != null) { PunchHeading.Dispose(); PunchHeading = null; } if (punchImgScrollView != null) { punchImgScrollView.Dispose(); punchImgScrollView = null; } if (punchSegmentControl != null) { punchSegmentControl.Dispose(); punchSegmentControl = null; } if (takePictureBtn != null) { takePictureBtn.Dispose(); takePictureBtn = null; } }
void ReleaseDesignerOutlets() { if (CommentsView != null) { CommentsView.Dispose(); CommentsView = null; } if (CommentTextBox != null) { CommentTextBox.Dispose(); CommentTextBox = null; } if (CostLabel != null) { CostLabel.Dispose(); CostLabel = null; } if (DateLabel != null) { DateLabel.Dispose(); DateLabel = null; } if (DistanceLabel != null) { DistanceLabel.Dispose(); DistanceLabel = null; } if (DriverLabel != null) { DriverLabel.Dispose(); DriverLabel = null; } if (EndLabel != null) { EndLabel.Dispose(); EndLabel = null; } if (FromLabel != null) { FromLabel.Dispose(); FromLabel = null; } if (MakerLabel != null) { MakerLabel.Dispose(); MakerLabel = null; } if (ModelLabel != null) { ModelLabel.Dispose(); ModelLabel = null; } if (RateLabel != null) { RateLabel.Dispose(); RateLabel = null; } if (ResumeView != null) { ResumeView.Dispose(); ResumeView = null; } if (SegmentedControl != null) { SegmentedControl.Dispose(); SegmentedControl = null; } if (StartLabel != null) { StartLabel.Dispose(); StartLabel = null; } if (ToLabel != null) { ToLabel.Dispose(); ToLabel = null; } if (VehicleImage != null) { VehicleImage.Dispose(); VehicleImage = null; } }