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; } }