void ReleaseDesignerOutlets() { if (CircleView != null) { CircleView.Dispose(); CircleView = null; } if (TimelineView != null) { TimelineView.Dispose(); TimelineView = null; } if (TitleLabel != null) { TitleLabel.Dispose(); TitleLabel = null; } if (TimeLineViewTopConstraint != null) { TimeLineViewTopConstraint.Dispose(); TimeLineViewTopConstraint = null; } if (TimeLineBottomConstraint != null) { TimeLineBottomConstraint.Dispose(); TimeLineBottomConstraint = null; } }
public override void Dispose() { actionDataManager.Dispose(); ViewHost.Context.getModel <EditMenuManager>(EditMenuManager.DefaultName).removeMenuProvider(this); CurrentTimeline = null; timelineController.TimelinePlaybackStarted -= timelineController_TimelinePlaybackStarted; timelineController.TimelinePlaybackStopped -= timelineController_TimelinePlaybackStopped; timelineController.TimeTicked -= timelineController_TimeTicked; timelineView.Dispose(); base.Dispose(); }
public override void Dispose() { ViewHost.Context.getModel <EditMenuManager>(EditMenuManager.DefaultName).removeMenuProvider(this); timelineDataManager.Dispose(); propEditController.MarkerMoved -= propEditController_MarkerMoved; propEditController.ShowPropActionChanged -= propEditController_ShowPropActionChanged; propEditController.DurationChanged -= propEditController_DurationChanged; if (propData != null) { propData.Updated -= propData_Updated; propData.ActionAdded -= propData_ActionAdded; propData.ActionRemoved -= propData_ActionRemoved; } timelineView.Dispose(); base.Dispose(); }
void ReleaseDesignerOutlets() { if (TimelineView != null) { TimelineView.Dispose(); TimelineView = null; } if (ActivityIndicator != null) { ActivityIndicator.Dispose(); ActivityIndicator = null; } if (BodyTextView != null) { BodyTextView.Dispose(); BodyTextView = null; } if (BodyTextViewHeightConstraint != null) { BodyTextViewHeightConstraint.Dispose(); BodyTextViewHeightConstraint = null; } if (CommentButton != null) { CommentButton.Dispose(); CommentButton = null; } if (ContainerView != null) { ContainerView.Dispose(); ContainerView = null; } if (LikeButton != null) { LikeButton.Dispose(); LikeButton = null; } if (NameLabel != null) { NameLabel.Dispose(); NameLabel = null; } if (PhotoImageView != null) { PhotoImageView.Dispose(); PhotoImageView = null; } if (PhotoImageViewHeightConstraint != null) { PhotoImageViewHeightConstraint.Dispose(); PhotoImageViewHeightConstraint = null; } if (ShareButton != null) { ShareButton.Dispose(); ShareButton = null; } if (SocialTypeImageView != null) { SocialTypeImageView.Dispose(); SocialTypeImageView = null; } if (TimeLabel != null) { TimeLabel.Dispose(); TimeLabel = null; } if (UserImageView != null) { UserImageView.Dispose(); UserImageView = null; } if (ContainerViewLeadingConstraint != null) { ContainerViewLeadingConstraint.Dispose(); ContainerViewLeadingConstraint = null; } }