Exemple #1
0
 public void Reload()
 {
     Console.WriteLine ("Reload MonoTouch.Dialog");
     InvokeOnMainThread(()=>{
         Root = 	new RootElement ("TaskyAzure") {
                 new Section () {
                 from task in tasks
                 orderby task.Title
                 select (Element) new StringElement (task.Title, () =>{
                     var ts = new TaskScreen(task);
                     NavigationController.PushViewController (ts, true);
                 })
             }
         };
     });
 }
Exemple #2
0
 public void Reload()
 {
     Console.WriteLine("Reload MonoTouch.Dialog");
     InvokeOnMainThread(() => {
         Root = new RootElement("TaskyAzure")
         {
             new Section()
             {
                 from task in tasks
                 orderby task.Title
                 select(Element) new StringElement(task.Title, () => {
                     var ts = new TaskScreen(task);
                     NavigationController.PushViewController(ts, true);
                 })
             }
         };
     });
 }