コード例 #1
0
        void ReleaseDesignerOutlets()
        {
            if (SupportButton != null)
            {
                SupportButton.Dispose();
                SupportButton = null;
            }

            if (ChatButton != null)
            {
                ChatButton.Dispose();
                ChatButton = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (CartButton != null)
            {
                CartButton.Dispose();
                CartButton = null;
            }

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

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

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

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

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

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

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