// Event handler for the NewNoteAdded event. This method // is automaticly wired as event handler based on convension. protected void OnNewNoteAdded(NewNoteAdded e) { _text = e.Text; _creationDate = e.CreationDate; }
protected void OnNewNoteAdded(NewNoteAdded e) { Id = e.NoteId; _text = e.Text; }