Example #1
0
        public override void Dispose()
        {
            if (IsDisposed)
            {
                return;
            }

            base.Dispose();

            self.Remove();
            self = null;
            bg   = null;
            enterButton.Dispose();
            enterButton = null;
        }
Example #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;
            content     = null;
        }