internal NoteModel AddNote(bool centerNote, double xPos, double yPos, string text, Guid id) { var noteModel = new NoteModel(xPos, yPos, string.IsNullOrEmpty(text) ? Resources.NewNoteString : text, id); //if we have null parameters, the note is being added //from the menu, center the view on the note AddNote(noteModel, centerNote); return noteModel; }