Beispiel #1
0
        /// <summary>
        /// Gets the child notes.
        /// </summary>
        public override System.Collections.ArrayList  GetChildNotes()
        {
            LayoutDatabase layout = new LayoutDatabase(this.GuidForNote);

            layout.LoadFrom(null);
            return(layout.GetAllNotes());
        }
Beispiel #2
0
        /// <summary>
        /// Lists the of subnotes as notes. For faster access to the subnotes of a subpanel. (September 16 2013)
        /// </summary>
        /// <returns>
        /// The of subnotes as notes.
        /// </returns>
        public override System.Collections.Generic.List <NoteDataInterface> ListOfSubnotesAsNotes()
        {
            System.Collections.Generic.List <NoteDataInterface> output = new System.Collections.Generic.List <NoteDataInterface> ();
            LayoutDatabase layout = new LayoutDatabase(this.GuidForNote);

            layout.LoadFrom(null);
            foreach (NoteDataInterface note in layout.GetAllNotes())
            {
                output.Add(note);
            }
            return(output);
        }