Ejemplo n.º 1
0
 private void CallPagesEvent(DAL.hadithindex Pages)
 {
     // Event will be null if there are no subscribers
     if (PagesSelectEvent != null)
     {
         PagesSelectEvent(Pages);
     }
 }
Ejemplo n.º 2
0
        void CtlPage_PagesSelectEvent(DAL.hadithindex page)
        {
            //page click
            CurrentState.PageNo = page.No;
            var selHadith = BLL.HadithData.getHadith(CurrentState.HadithId);

            NowLatinLbl.Text  = selHadith.Title.Trim() + " - " + page.Name.Trim();
            NowArabicLbl.Text = page.ArabicName.Trim();
            setExpanderTitle(ExpanderPage, "PageLbl", page.Name);

            CurrentState.CtlChapter.PopulateChapter(CurrentState.HadithId, CurrentState.PageNo);
            CurrentState.CtlChapter.GoToFirstItem();
        }