예제 #1
0
 public EditPopup(ToDoItem item)
 {
     InitializeComponent();
     DataContext = item;
     tempdesc = item.Description;
 }
예제 #2
0
 public EditPopup(ToDoItem item)
 {
     InitializeComponent();
     DataContext = item;
     tempdesc    = item.Description;
 }
예제 #3
0
 public void DeleteItem(ToDoItem item)
 {
     items.Remove(item);
     item.ToDo.Remove();
     if (PropertyChanged != null)
     {
         PropertyChanged(this, new PropertyChangedEventArgs("Items"));
     }
 }