void ReleaseDesignerOutlets() { if (AudioButton != null) { AudioButton.Dispose(); AudioButton = null; } if (flashButton != null) { flashButton.Dispose(); flashButton = null; } if (GalleryButton != null) { GalleryButton.Dispose(); GalleryButton = null; } if (liveCameraStreamView != null) { liveCameraStreamView.Dispose(); liveCameraStreamView = null; } if (SwitchCameraButton != null) { SwitchCameraButton.Dispose(); SwitchCameraButton = null; } if (TakePhotoButton != null) { TakePhotoButton.Dispose(); TakePhotoButton = 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; } }