void ReleaseDesignerOutlets() { if (LblMail != null) { LblMail.Dispose(); LblMail = null; } if (LblName != null) { LblName.Dispose(); LblName = null; } if (LblPhone != null) { LblPhone.Dispose(); LblPhone = null; } if (LblStatus != null) { LblStatus.Dispose(); LblStatus = null; } if (LblAddress != null) { LblAddress.Dispose(); LblAddress = null; } }
void ReleaseDesignerOutlets() { if (ImgUser != null) { ImgUser.Dispose(); ImgUser = null; } if (LblName != null) { LblName.Dispose(); LblName = null; } if (LblFavoriteCount != null) { LblFavoriteCount.Dispose(); LblFavoriteCount = null; } if (LblRetweetCount != null) { LblRetweetCount.Dispose(); LblRetweetCount = null; } if (TxtDescription != null) { TxtDescription.Dispose(); TxtDescription = null; } }
void ReleaseDesignerOutlets() { if (btnSubmit != null) { btnSubmit.Dispose(); btnSubmit = null; } if (LblAge != null) { LblAge.Dispose(); LblAge = null; } if (LblName != null) { LblName.Dispose(); LblName = null; } if (TxtAge != null) { TxtAge.Dispose(); TxtAge = null; } if (TxtName != null) { TxtName.Dispose(); TxtName = null; } }