public VersesData(VersesData rhs) { FirstVerse = new VerseData(rhs.FirstVerse); foreach (VerseData aVerse in rhs) { Add(new VerseData(aVerse)); } }
public virtual void ScrollToVerse(int nVerseIndex) { StrIdToScrollTo = VersesData.LineId(nVerseIndex); if (!String.IsNullOrEmpty(StrIdToScrollTo)) { ScrollToElement(StrIdToScrollTo, true); } }
public StoryData(NewDataSet.storyRow theStoryRow, NewDataSet projFile, bool bHasIndependentConsultant) { Name = theStoryRow.name; guid = theStoryRow.guid; StageTimeStamp = (theStoryRow.IsstageDateTimeStampNull()) ? DateTime.Now : theStoryRow.stageDateTimeStamp; ProjStage = new StoryStageLogic(theStoryRow.stage, bHasIndependentConsultant); CraftingInfo = new CraftingInfoData(theStoryRow); Verses = new VersesData(theStoryRow, projFile); }
public StoryData(StoryData rhs) { Name = rhs.Name; // the guid shouldn't be replicated guid = Guid.NewGuid().ToString(); // rhs.guid; StageTimeStamp = rhs.StageTimeStamp; ProjStage = new StoryStageLogic(rhs.ProjStage); CraftingInfo = new CraftingInfoData(rhs.CraftingInfo); Verses = new VersesData(rhs.Verses); }
public StoryData(string strStoryName, string strCrafterMemberGuid, string strLoggedOnMemberGuid, bool bIsBiblicalStory, ProjectSettings projSettings) { Name = strStoryName; guid = Guid.NewGuid().ToString(); StageTimeStamp = DateTime.Now; ProjStage = new StoryStageLogic(projSettings); CraftingInfo = new CraftingInfoData(strCrafterMemberGuid, strLoggedOnMemberGuid, bIsBiblicalStory); Verses = new VersesData(); Verses.CreateFirstVerse(); }