コード例 #1
0
 public Facts(FactSource source)
     : this()
 {
     allFacts = true;
     facts    = ft.GetSourceDisplayFacts(source);
     Text     = "Facts Report for source: " + source.ToString() + ". Facts count: " + facts.Count;
     SetupFacts();
     //dgFacts.Columns["CensusReference"].Visible = true;
 }
コード例 #2
0
ファイル: Facts.cs プロジェクト: jthigh/FTAnalyzer
 public Facts(FactSource source)
     : this()
 {
     allFacts = true;
     facts    = ft.GetSourceDisplayFacts(source);
     Text     = $"Facts Report for source: {source.ToString()}. Facts count: {facts.Count}";
     SetupFacts();
     //dgFacts.Columns["CensusReference"].Visible = true;
     Analytics.TrackAction(Analytics.FactsFormAction, Analytics.FactsSourceEvent);
 }
コード例 #3
0
 public FactsViewController(string title, FactSource source) : base(title, string.Empty)
 {
     facts = FamilyTree.GetSourceDisplayFacts(source);
     Title = $"{title}.Facts count: {facts.Count}";
     RefreshDocumentView();
 }