예제 #1
0
        void ReleaseDesignerOutlets()
        {
            if (ChatListBtn != null)
            {
                ChatListBtn.Dispose();
                ChatListBtn = null;
            }

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

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

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

            if (UreadCount != null)
            {
                UreadCount.Dispose();
                UreadCount = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (Email != null)
            {
                Email.Dispose();
                Email = null;
            }

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

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