void ReleaseDesignerOutlets() { if (HangupButton != null) { HangupButton.Dispose(); HangupButton = null; } if (PublisherView != null) { PublisherView.Dispose(); PublisherView = null; } if (SubscriberView != null) { SubscriberView.Dispose(); SubscriberView = null; } if (SwitchButton != null) { SwitchButton.Dispose(); SwitchButton = null; } if (ToolBar != null) { ToolBar.Dispose(); ToolBar = null; } if (StatusLabel != null) { StatusLabel.Dispose(); StatusLabel = null; } }
void ReleaseDesignerOutlets() { if (JoinContainerView != null) { JoinContainerView.Dispose(); JoinContainerView = null; } if (ChatView != null) { ChatView.Dispose(); ChatView = null; } if (OverlayView != null) { OverlayView.Dispose(); OverlayView = null; } if (JoinButton != null) { JoinButton.Dispose(); JoinButton = null; } if (RoomTextField != null) { RoomTextField.Dispose(); RoomTextField = null; } if (AudioButton != null) { AudioButton.Dispose(); AudioButton = null; } if (ButtonContainerView != null) { ButtonContainerView.Dispose(); ButtonContainerView = null; } if (ButtonContainerViewLeftConstraint != null) { ButtonContainerViewLeftConstraint.Dispose(); ButtonContainerViewLeftConstraint = null; } if (FooterView != null) { FooterView.Dispose(); FooterView = null; } if (FooterViewBottomConstraint != null) { FooterViewBottomConstraint.Dispose(); FooterViewBottomConstraint = null; } if (HangupButton != null) { HangupButton.Dispose(); HangupButton = null; } if (LocalView != null) { LocalView.Dispose(); LocalView = null; } if (LocalViewBottomConstraint != null) { LocalViewBottomConstraint.Dispose(); LocalViewBottomConstraint = null; } if (LocalViewHeightConstraint != null) { LocalViewHeightConstraint.Dispose(); LocalViewHeightConstraint = null; } if (LocalViewRightConstraint != null) { LocalViewRightConstraint.Dispose(); LocalViewRightConstraint = null; } if (LocalViewWidthConstraint != null) { LocalViewWidthConstraint.Dispose(); LocalViewWidthConstraint = null; } if (RemoteView != null) { RemoteView.Dispose(); RemoteView = null; } if (RemoteViewBottomConstraint != null) { RemoteViewBottomConstraint.Dispose(); RemoteViewBottomConstraint = null; } if (RemoteViewLeftConstraint != null) { RemoteViewLeftConstraint.Dispose(); RemoteViewLeftConstraint = null; } if (RemoteViewRightConstraint != null) { RemoteViewRightConstraint.Dispose(); RemoteViewRightConstraint = null; } if (RemoteViewTopConstraint != null) { RemoteViewTopConstraint.Dispose(); RemoteViewTopConstraint = null; } if (UrlLabel != null) { UrlLabel.Dispose(); UrlLabel = null; } if (VideoButton != null) { VideoButton.Dispose(); VideoButton = null; } }