Example #1
0
        void ReleaseDesignerOutlets()
        {
            if (AgoraVersionLabel != null)
            {
                AgoraVersionLabel.Dispose();
                AgoraVersionLabel = null;
            }

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

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

            if (ErrorLabel != null)
            {
                ErrorLabel.Dispose();
                ErrorLabel = 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 (OpacityLayerView != null)
            {
                OpacityLayerView.Dispose();
                OpacityLayerView = null;
            }

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

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

            if (JoinButton != null)
            {
                JoinButton.Dispose();
                JoinButton = 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;
            }
        }