string HandleAddItemFromMenu(object sender)
        {
            // Feb 2013 - Difference between this and old version will be that
            // instead of storing the data in different ways for different types
            // we keep it simple.

            // We store only the GUIDs.
            // The Display and Open Note (DoubleClick) functions, will have to handle the logic of figuring
            //  out what to do with the GUID -- i.e., showing a picture instead of text
            // CORRECTION: I stuck with the original way of storing the data to not invalidate old data

            // so simply we need to extract a CAPTION and GUID and we are off
            System.Collections.Generic.List <NoteDataInterface> ListOfNotes = new System.Collections.Generic.List <NoteDataInterface>();

            ListOfNotes.AddRange(Layout.GetAllNotes().ToArray(typeof(NoteDataInterface)) as NoteDataInterface[]);
            ListOfNotes.Sort();
            LinkPickerForm linkpicker = new LinkPickerForm(LayoutDetails.Instance.MainFormIcon, ListOfNotes);



            DialogResult result = linkpicker.ShowDialog();

            if (result == DialogResult.OK)
            {
                if (linkpicker.GetNote != null)
                {
                    string sCaption   = Constants.BLANK;
                    string sValue     = Constants.BLANK;
                    string extraField = Constants.BLANK;
                    int    type       = 0;
                    linkpicker.GetNote.GetStoryboardData(out sCaption, out sValue, out type, out extraField);

                    StoryBoard.AddItem(sCaption, sValue, type, extraField);
                    //	StoryBoard.InitializeGroupEmFromExternal();
                }

//				if (tempPanel != null) {
//					// testing if a picture
//					if (tempPanel.appearance.ShapeType == Appearance.shapetype.Picture) {
//						string sFile = tempPanel.appearance.File;
//						(sender as GroupEm.groupEms).AddItem (sText, sFile, 1);
//					} else {
//						// may 2010 -- tring to get the normal name not the fancy caption
//
//						// add as link
//						(sender as GroupEm.groupEms).AddItem (tempPanel.appearance.Caption, sValue, 0);
//					}
//
//				}
            }
            return("");
        }
        string HandleAddItemFromMenu(object sender)
        {
            // Feb 2013 - Difference between this and old version will be that
            // instead of storing the data in different ways for different types
            // we keep it simple.

            // We store only the GUIDs.
            // The Display and Open Note (DoubleClick) functions, will have to handle the logic of figuring
            //  out what to do with the GUID -- i.e., showing a picture instead of text
            // CORRECTION: I stuck with the original way of storing the data to not invalidate old data

            // so simply we need to extract a CAPTION and GUID and we are off
            System.Collections.Generic.List<NoteDataInterface> ListOfNotes = new System.Collections.Generic.List<NoteDataInterface>();

            ListOfNotes.AddRange(Layout.GetAllNotes().ToArray (typeof(NoteDataInterface)) as NoteDataInterface[]);
            ListOfNotes.Sort ();
            LinkPickerForm linkpicker = new LinkPickerForm (LayoutDetails.Instance.MainFormIcon ,ListOfNotes);

            DialogResult result = linkpicker.ShowDialog ();
            if (result == DialogResult.OK) {

                if (linkpicker.GetNote != null)
                {

                    string sCaption = Constants.BLANK;
                    string sValue = Constants.BLANK;
                    string extraField = Constants.BLANK;
                    int type = 0;
                    linkpicker.GetNote.GetStoryboardData(out sCaption, out sValue, out type, out extraField);

                    StoryBoard.AddItem (sCaption, sValue, type, extraField);
            //	StoryBoard.InitializeGroupEmFromExternal();
                }

            //				if (tempPanel != null) {
            //					// testing if a picture
            //					if (tempPanel.appearance.ShapeType == Appearance.shapetype.Picture) {
            //						string sFile = tempPanel.appearance.File;
            //						(sender as GroupEm.groupEms).AddItem (sText, sFile, 1);
            //					} else {
            //						// may 2010 -- tring to get the normal name not the fancy caption
            //
            //						// add as link
            //						(sender as GroupEm.groupEms).AddItem (tempPanel.appearance.Caption, sValue, 0);
            //					}
            //
            //				}
            }
            return "";
        }