void ReleaseDesignerOutlets() { if (SecondImageView != null) { SecondImageView.Dispose(); SecondImageView = null; } if (SecondLabel != null) { SecondLabel.Dispose(); SecondLabel = null; } if (FelixImageView != null) { FelixImageView.Dispose(); FelixImageView = null; } if (FelixLabel != null) { FelixLabel.Dispose(); FelixLabel = null; } }
void ReleaseDesignerOutlets() { if (Bcover != null) { Bcover.Dispose(); Bcover = null; } if (Beight != null) { Beight.Dispose(); Beight = null; } if (Bfive != null) { Bfive.Dispose(); Bfive = null; } if (Bfour != null) { Bfour.Dispose(); Bfour = null; } if (Bnine != null) { Bnine.Dispose(); Bnine = null; } if (Bone != null) { Bone.Dispose(); Bone = null; } if (BQuitGame != null) { BQuitGame.Dispose(); BQuitGame = null; } if (Bseven != null) { Bseven.Dispose(); Bseven = null; } if (Bsix != null) { Bsix.Dispose(); Bsix = null; } if (Bthree != null) { Bthree.Dispose(); Bthree = null; } if (Btwo != null) { Btwo.Dispose(); Btwo = null; } if (FirstLabel != null) { FirstLabel.Dispose(); FirstLabel = null; } if (FirstLabel2 != null) { FirstLabel2.Dispose(); FirstLabel2 = null; } if (FirstPiece != null) { FirstPiece.Dispose(); FirstPiece = null; } if (OutputLabel != null) { OutputLabel.Dispose(); OutputLabel = null; } if (PlayView != null) { PlayView.Dispose(); PlayView = null; } if (SecondLabel != null) { SecondLabel.Dispose(); SecondLabel = null; } if (SecondLabel2 != null) { SecondLabel2.Dispose(); SecondLabel2 = null; } if (SecondPiece != null) { SecondPiece.Dispose(); SecondPiece = null; } if (StatusLabel != null) { StatusLabel.Dispose(); StatusLabel = null; } }