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 (ImgProfile != null) { ImgProfile.Dispose(); ImgProfile = null; } if (ImgBottom != null) { ImgBottom.Dispose(); ImgBottom = null; } if (LblProfile != null) { LblProfile.Dispose(); LblProfile = null; } if (LblBottom != null) { LblBottom.Dispose(); LblBottom = null; } if (BtnEdit != null) { BtnEdit.Dispose(); BtnEdit = null; } if (ViewProfile != null) { ViewProfile.Dispose(); ViewProfile = null; } if (ViewBottom != null) { ViewBottom.Dispose(); ViewBottom = null; } }
void ReleaseDesignerOutlets() { if (ProfileView != null) { ProfileView.Dispose(); ProfileView = null; } if (ImgProfile != null) { ImgProfile.Dispose(); ImgProfile = null; } if (LblEdit != null) { LblEdit.Dispose(); LblEdit = null; } if (BottomView != null) { BottomView.Dispose(); BottomView = null; } if (ImgBottom != null) { ImgBottom.Dispose(); ImgBottom = null; } if (LblTap != null) { LblTap.Dispose(); LblTap = null; } }