protected override void Dispose(bool disposing) { if (disposing) { if (CoverView != null) { CoverView.Dispose(); CoverView = null; } } base.Dispose(disposing); }
void ReleaseDesignerOutlets() { if (btnEdit != null) { btnEdit.Dispose(); btnEdit = null; } if (CoverView != null) { CoverView.Dispose(); CoverView = null; } if (imgCover != null) { imgCover.Dispose(); imgCover = null; } if (imgProfile != null) { imgProfile.Dispose(); imgProfile = null; } if (lblCover != null) { lblCover.Dispose(); lblCover = null; } if (lblProfile != null) { lblProfile.Dispose(); lblProfile = null; } if (profileView != null) { profileView.Dispose(); profileView = null; } }
void ReleaseDesignerOutlets() { if (ProfileView != null) { ProfileView.Dispose(); ProfileView = null; } if (btnEdit != null) { btnEdit.Dispose(); btnEdit = null; } if (ImgProfile != null) { ImgProfile.Dispose(); ImgProfile = null; } if (lblEdit != null) { lblEdit.Dispose(); lblEdit = null; } if (CoverView != null) { CoverView.Dispose(); CoverView = null; } if (ImgCover != null) { ImgCover.Dispose(); ImgCover = null; } if (lblCover != null) { lblCover.Dispose(); lblCover = null; } }
void ReleaseDesignerOutlets() { if (ContentView != null) { ContentView.Dispose(); ContentView = null; } if (AddressContainer != null) { AddressContainer.Dispose(); AddressContainer = null; } if (AddressHeightConstraint != null) { AddressHeightConstraint.Dispose(); AddressHeightConstraint = null; } if (AddressLabel != null) { AddressLabel.Dispose(); AddressLabel = null; } if (CoverView != null) { CoverView.Dispose(); CoverView = null; } if (MapView != null) { MapView.Dispose(); MapView = null; } }