Example #1
0
		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();
		}
Example #2
0
		public NoteNode(Note note)
		{
			this.Note = note;
		}