Ejemplo n.º 1
0
        void ReleaseDesignerOutlets()
        {
            if (ActivityInProgressView != null)
            {
                ActivityInProgressView.Dispose();
                ActivityInProgressView = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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