protected void OnSaveNewNoteBtnClicked(object sender, EventArgs e) { string title = newNoteTitle.Text; string content = newNoteField.Buffer.Text; var n = new Note(title, content); noteStore.AddNode(new NoteNode(n)); nb.CurrentPage = 0; ResetNewNotePage(); }
public NoteNode(Note note) { this.Note = note; }