Exemple #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);
        }
 /// <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;
 }