Exemplo n.º 1
0
        private void FrontCoverThumbnails_ThumbnailSelected(object sender, ThumbnailObject ImageThumbnail)
        {
            Debug.WriteLine(String.Format("FrontCoverThumbnails_ThumbnailSelected [{0}]: {1}", ImageThumbnail.ThumbnailIndex, ImageThumbnail.ThumbnailFilePath));

            ShowMainImgEdit(PartOfBook.FrontCover);
        }
Exemplo n.º 2
0
 private void FrontCoverThumbnails_ThumbnailLoaded(object sender, ThumbnailObject ImageThumbnail)
 {
     Debug.WriteLine(String.Format("FrontCoverThumbnails_ThumbnailLoaded [{0}]: {1}", ImageThumbnail.ThumbnailIndex, ImageThumbnail.ThumbnailFilePath));
 }
Exemplo n.º 3
0
 private void TableOfContentsThumbnails_ThumbnailLoaded(object sender, ThumbnailObject ImageThumbnail)
 {
     Debug.WriteLine(String.Format("TableOfContentsThumbnails_ThumbnailLoaded [{0}]: {1}", ImageThumbnail.ThumbnailIndex, ImageThumbnail.ThumbnailFilePath));
 }
Exemplo n.º 4
0
        private void TableOfContentsThumbnails_ThumbnailSelected(object sender, ThumbnailObject ImageThumbnail)
        {
            Debug.WriteLine(String.Format("TableOfContentsThumbnails_ThumbnailSelected [{0}]: {1}", ImageThumbnail.ThumbnailIndex, ImageThumbnail.ThumbnailFilePath));

            ShowMainImgEdit(PartOfBook.TableOfContents);
        }
Exemplo n.º 5
0
        private void TableOfContentsThumbnails_ThumbnailDragFinished(object sender, ThumbnailObject DragImageThumbnail, ThumbnailObject DropImageThumbnail)
        {
            Debug.WriteLine(String.Format("TableOfContentsThumbnails_ThumbnailDragFinished [{0}]->[{1}]", DragImageThumbnail, DropImageThumbnail));

            if (TableOfContentsImgEdit.PageCount > DragImageThumbnail.ThumbnailIndex)
            {
                if (DropImageThumbnail != null)
                {
                    TableOfContentsImgEdit.MovePage(DragImageThumbnail.ThumbnailIndex, DropImageThumbnail.ThumbnailIndex);
                    TableOfContentsImgEdit.SaveImage();
                }
            }
        }