Exemplo n.º 1
0
 private void CallChapterEvent(DAL.hadithchapter Chapter)
 {
     // Event will be null if there are no subscribers
     if (ChapterSelectEvent != null)
     {
         ChapterSelectEvent(Chapter);
     }
 }
Exemplo n.º 2
0
        void CtlChapter_ChapterSelectEvent(DAL.hadithchapter chap)
        {
            CurrentState.ChapterNo = chap.ChapterNo;
            setExpanderTitle(ExpanderChapter, "ChapterLbl", chap.Title);

            CurrentState.CtlContent.PopulateContent(CurrentState.HadithId, CurrentState.PageNo, CurrentState.ChapterNo, CurrentState.config.VerseSize, CurrentState.LanguageId);
            CurrentState.TotalHadith = BLL.HadithData.getTotalHadithInChapter(CurrentState.HadithId, CurrentState.PageNo, CurrentState.ChapterNo);
            CurrentState.CtlContent.GoToFirstItem();
        }