void ReleaseDesignerOutlets() { if (ImgAssetCoverArt != null) { ImgAssetCoverArt.Dispose(); ImgAssetCoverArt = null; } if (LblAlbum != null) { LblAlbum.Dispose(); LblAlbum = null; } if (LblArtist != null) { LblArtist.Dispose(); LblArtist = null; } if (LblTitle != null) { LblTitle.Dispose(); LblTitle = null; } }
void ReleaseDesignerOutlets() { if (BtnAddToPlaylist != null) { BtnAddToPlaylist.Dispose(); BtnAddToPlaylist = null; } if (BtnPlayItem != null) { BtnPlayItem.Dispose(); BtnPlayItem = null; } if (ImgAssetCoverArt != null) { ImgAssetCoverArt.Dispose(); ImgAssetCoverArt = null; } if (LblArtist != null) { LblArtist.Dispose(); LblArtist = null; } if (LblTitle != null) { LblTitle.Dispose(); LblTitle = null; } }