public TableInCareSource(List<KidsInCare> items, MonoTouch.UIKit.UIViewController ctrl)
        {
            indexedTableItems = null;
            indexedTableItems = new Dictionary<string, System.Collections.Generic.List<string>>();

            foreach (KidsInCare t in items) {
                string dateStamp = "";
                if (t.OutStamp == new DateTime(1,1,1))
                    dateStamp = " @ " + t.InStamp.ToShortTimeString ();
                else
                    dateStamp = " @ IN:" + t.InStamp.ToShortTimeString () + " - OUT:" + t.OutStamp.ToShortTimeString();
                if (t != null) {
                    if (indexedTableItems.ContainsKey (t.Description)) {
                        indexedTableItems [t.Description].Add (t.LastName + ", " + t.FirstName + dateStamp + ((t.Comments != "") ? " (" + t.Comments + ")" : "") + "|" + t.PersonID.ToString());
                    } else {
                        indexedTableItems.Add (t.Description, new List<string> () { t.LastName + ", " + t.FirstName + dateStamp + ((t.Comments != "" && t.Comments != null) ? " (" + t.Comments + ")" : "") + "|" + t.PersonID.ToString()});
                    }
                }
            }
            keys = new string[indexedTableItems.Keys.Count];
            indexedTableItems.Keys.CopyTo (keys, 0);
            pvc = (Kidz.KidsInCareViewController)ctrl;
        }
 public SelectableEventPickerViewModel(List<Event> events, UIViewController ctrl)
 {
     Events = events;
     pvc = (KidsInCareViewController)ctrl;
 }