Пример #1
0
 private void AddEvent(Event EV)
 {
     ObservableCollectionEvent.Add(EV);
     Persistency.PersistencyService.SaveEventAsJsonAsync(ObservableCollectionEvent);
 }
Пример #2
0
 public void RemoveEvent(Event SelectedEvent)
 {
     ObservableCollectionEvent.Remove(SelectedEvent);
 }
Пример #3
0
 private EventCatalogSingleton()
 {
     ObservableCollectionEvent.Add(new Event(1, "event1", "description1", "place1", new DateTime(1423, 12, 2)));
     ObservableCollectionEvent.Add(new Event(3, "event3", "description3", "place3", new DateTime(1438, 12, 2)));
 }