Esempio n. 1
0
 public Main(int id)
 {
     vm = new CreatePageViewModel();
     BindingContext = vm;
     InitializeComponent();
     ToDoItem toDoItem = App.Database.GetToDo(id);
     ToDoEntry.Text = toDoItem.TaskName;
     Priority.Text = toDoItem.Priority;
     Date.Date = toDoItem.DueDate;
     Time.Time = toDoItem.DueDate.TimeOfDay;
     updateID = id;
 }
Esempio n. 2
0
 public Main()
 {
     vm = new CreatePageViewModel();
     BindingContext = vm;
     InitializeComponent();
 }