void ReleaseDesignerOutlets() { if (ButtonDelete != null) { ButtonDelete.Dispose(); ButtonDelete = null; } if (DeleteButtonZoneForTouch != null) { DeleteButtonZoneForTouch.Dispose(); DeleteButtonZoneForTouch = null; } if (DetailLabel != null) { DetailLabel.Dispose(); DetailLabel = null; } if (PictureView != null) { PictureView.Dispose(); PictureView = null; } if (TitleNameLabel != null) { TitleNameLabel.Dispose(); TitleNameLabel = null; } }
void ReleaseDesignerOutlets() { if (ImagePuzzle != null) { ImagePuzzle.Dispose(); ImagePuzzle = null; } if (ButtonDelete != null) { ButtonDelete.Dispose(); ButtonDelete = null; } if (LabelPlayer1Time != null) { LabelPlayer1Time.Dispose(); LabelPlayer1Time = null; } if (LabelPlayer2Time != null) { LabelPlayer2Time.Dispose(); LabelPlayer2Time = null; } if (ImagePlayer1 != null) { ImagePlayer1.Dispose(); ImagePlayer1 = null; } if (ImagePlayer2 != null) { ImagePlayer2.Dispose(); ImagePlayer2 = null; } }