Esempio n. 1
0
        /// <summary>
        /// Called when a control enters edit display mode. It creates EditPart controls
        /// </summary>
        /// <returns>The collection of EditorPart controls</returns>
        public override EditorPartCollection CreateEditorParts()
        {
            ArrayList      editorArray = new ArrayList();
            PropertyImages edPart      = new PropertyImages();

            edPart.ID = this.ID + "_PropertyImages";
            editorArray.Add(edPart);
            EditorPartCollection editorParts =
                new EditorPartCollection(editorArray);

            return(editorParts);
        }
Esempio n. 2
0
 /// <summary>
 /// Called when a control enters edit display mode. It creates EditPart controls
 /// </summary>
 /// <returns>The collection of EditorPart controls</returns>
 public override EditorPartCollection CreateEditorParts()
 {
     ArrayList editorArray = new ArrayList();
     PropertyImages edPart = new PropertyImages();
     edPart.ID = this.ID + "_PropertyImages";
     editorArray.Add(edPart);
     EditorPartCollection editorParts =
       new EditorPartCollection(editorArray);
     return editorParts;
 }