public void Execute(object parameter) { Crop crop = parameter as Crop; if (crop.IsChecked) { CalendarManager.updateNote(crop, "remove", false); } else { CalendarManager.updateNote(crop, "add", false); } }
public void Execute(object parameter) { Crop crop = parameter as Crop; if (crop.IsChecked) { CalendarManager.updateNote(crop, "remove", false); } else { CalendarManager.updateNote(crop, "add", false); } }