コード例 #1
0
        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);
            }
        }
コード例 #2
0
 public UITypeEditorEventArgs(UITypeEditorGeneric editor)
 {
     this.m_Editor = editor;
 }