Exemplo n.º 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;
 }
Exemplo n.º 2
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;
     Analytics.TrackAction(Analytics.FactsFormAction, Analytics.FactsSourceEvent);
 }
Exemplo n.º 3
0
 void SourcesFactRowClicked(FactSource source)
 {
     InvokeOnMainThread(() =>
     {
         if (source != null)
         {
             App.ShowFacts(new FactsViewController <IDisplayFact>($"Facts Report for source: {source.ToString()}", source));
             Analytics.TrackAction(Analytics.FactsFormAction, Analytics.FactsSourceEvent);
         }
     });
 }