Exemplo n.º 1
0
        private void PicturesAlbums_ItemClicked(object sender, int AlbumID)
        {
            Thread T = new Thread(delegate()
            {
                SplashWindow.CreateCoverSplash(PicturesContainer.Top, PicturesContainer.Left,
                                               PicturesContainer.Height, PicturesContainer.Width);
            });

            T.Start();

            while (!SplashWindow.bSmallCreated)
            {
                ;
            }

            bShow = true;

            InfiniumPictures.FillPictures(AlbumID);
            PicturesContainer.ItemsDataTable = InfiniumPictures.PicturesItemsDataTable;
            PicturesContainer.BringToFront();
            PicturesContainer.Focus();

            iAlbumID = AlbumID;

            BackButton.Visible = true;

            bC = true;
        }
Exemplo n.º 2
0
        private void PicturesContainer_LikeClicked(object sender, int PictureID)
        {
            int Count = InfiniumPictures.LikePicture(PictureID);

            PicturesContainer.RefreshItem(PictureID, Count);
        }