public void FlipLeftPage(int pageNum) { if (isPageFlipping) return; if (ControledBook.CurrentPaper <= 0) return; isPageFlipping = true; HomePageFlipper.AutoFlipPage(pageNum, ControledBook, PageFlipTime, FlipMode.LeftToRight, () => { isPageFlipping = false; }); }
public void FlipRightPage(int pageNum) { if (isPageFlipping) return; if (ControledBook.CurrentPaper >= ControledBook.papers.Length) return; isPageFlipping = true; HomePageFlipper.AutoFlipPage(pageNum, ControledBook, PageFlipTime, FlipMode.RightToLeft, ()=> { isPageFlipping = false; }); }