예제 #1
0
 void PopulateTable()
 {
     _sections.Clear();
     // TODO - have a ticking clock in the title bar
     foreach (var kvp in _popover.Selected)
     {
         var ce = new CrewElement(kvp.Key, kvp.Value);
         var s  = new Section(kvp.Key.ToString())
         {
             ce
         };
         _sections.Add(s);
     }
     Root = new RootElement("Forthcoming crews")
     {
         _sections
     };
     Root.Add(AddAnotherItem("Unidentified finisher"));
 }
 void PopulateTable()
 {
     _sections.Clear ();
     // TODO - have a ticking clock in the title bar
     foreach (var kvp in _popover.Selected)
     {
         var ce = new CrewElement (kvp.Key, kvp.Value);
         var s = new Section(kvp.Key.ToString ()) { ce };
         _sections.Add (s);
     }
     Root = new RootElement ("Forthcoming crews") { _sections };
     Root.Add (AddAnotherItem ("Unidentified finisher"));
 }