Пример #1
0
        public override void Dispose()
        {
            if (IsDisposed)
            {
                return;
            }

            base.Dispose();

            self.Remove();
            self = null;
            bg   = null;
            enterButton.Dispose();
            enterButton = null;
        }
Пример #2
0
        public override void Dispose()
        {
            if (IsDisposed)
            {
                return;
            }

            base.Dispose();

            self.Remove();
            self          = null;
            bg            = null;
            contentBG     = null;
            accountBg     = null;
            accountInput  = null;
            passwordBg    = null;
            passwordInput = null;
            loginButton.Dispose();
            loginButton = null;
            registButton.Dispose();
            registButton = null;
            content      = null;
        }