// DRY Methods private void AddNote() { MainJobMenuNotesDataService.AllNotes.Add(new Note() { Date = DateTime.Now.ToString("g"), Text = NoteToAdd.Text }); AddNoteFlyout.Hide(); }
private void AddNoteCancled(object sender, RoutedEventArgs e) { AddNoteFlyout.Hide(); }