protected void DoEditorCustom() { UITypeEditor uITypeEditor = null; string message = "Iocomp : Unable to create UITypeEditor"; try { if (uITypeEditor == null) { uITypeEditor = new UITypeEditorGeneric(); } } catch (Exception) { message = "Iocomp : Error Creating UITypeEditor with new UITypeEditorGeneric()"; } if (uITypeEditor == null) { new Exception(message); } if (uITypeEditor is UITypeEditorGeneric) { (uITypeEditor as UITypeEditorGeneric).IForceDesignerChange = this; (uITypeEditor as UITypeEditorGeneric).EditValue(null, null, base.Component); } }
public UITypeEditorEventArgs(UITypeEditorGeneric editor) { this.m_Editor = editor; }