void ReleaseDesignerOutlets()
        {
            if (ControlButtonsView != null)
            {
                ControlButtonsView.Dispose();
                ControlButtonsView = null;
            }

            if (EndCallButton != null)
            {
                EndCallButton.Dispose();
                EndCallButton = null;
            }

            if (JoinButton != null)
            {
                JoinButton.Dispose();
                JoinButton = null;
            }

            if (MuteButton != null)
            {
                MuteButton.Dispose();
                MuteButton = null;
            }

            if (ErrorLabel != null)
            {
                ErrorLabel.Dispose();
                ErrorLabel = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (ContainerView != null)
            {
                ContainerView.Dispose();
                ContainerView = null;
            }

            if (EndCallButton != null)
            {
                EndCallButton.Dispose();
                EndCallButton = null;
            }

            if (LocalView != null)
            {
                LocalView.Dispose();
                LocalView = null;
            }

            if (MuteAudioButton != null)
            {
                MuteAudioButton.Dispose();
                MuteAudioButton = null;
            }

            if (MuteVideoButton != null)
            {
                MuteVideoButton.Dispose();
                MuteVideoButton = null;
            }

            if (SwitchCameraButton != null)
            {
                SwitchCameraButton.Dispose();
                SwitchCameraButton = null;
            }
        }
Example #3
0
        void ReleaseDesignerOutlets()
        {
            if (BackgroundDoubleTap != null)
            {
                BackgroundDoubleTap.Dispose();
                BackgroundDoubleTap = null;
            }

            if (BackgroundTap != null)
            {
                BackgroundTap.Dispose();
                BackgroundTap = null;
            }

            if (ContainerView != null)
            {
                ContainerView.Dispose();
                ContainerView = null;
            }

            if (EndCallButton != null)
            {
                EndCallButton.Dispose();
                EndCallButton = null;
            }

            if (LocalVideoHeight != null)
            {
                LocalVideoHeight.Dispose();
                LocalVideoHeight = null;
            }

            if (LocalVideoWidth != null)
            {
                LocalVideoWidth.Dispose();
                LocalVideoWidth = null;
            }

            if (LocalView != null)
            {
                LocalView.Dispose();
                LocalView = null;
            }

            if (MutedView != null)
            {
                MutedView.Dispose();
                MutedView = null;
            }

            if (RoomNameLabel != null)
            {
                RoomNameLabel.Dispose();
                RoomNameLabel = null;
            }

            if (SwitchCamButton != null)
            {
                SwitchCamButton.Dispose();
                SwitchCamButton = null;
            }

            if (ToggleAudioButton != null)
            {
                ToggleAudioButton.Dispose();
                ToggleAudioButton = null;
            }

            if (ToggleCamButton != null)
            {
                ToggleCamButton.Dispose();
                ToggleCamButton = null;
            }

            if (DebugData != null)
            {
                DebugData.Dispose();
                DebugData = null;
            }
        }