object ICustomTypeDescriptor.GetEditor(System.Type editorBaseType) { if (editorBaseType != typeof(ComponentEditor)) { return null; } if ((this.editor == null) && ((this.editor == null) && this.HasPropertyPages())) { this.editor = new AxComponentEditor(); } return this.editor; }
Object ICustomTypeDescriptor.GetEditor(Type editorBaseType) { if (editorBaseType != typeof(ComponentEditor)) return null; if (editor != null) return editor; if (editor == null && HasPropertyPages()) editor = new AxComponentEditor(); return editor; }