Exemplo n.º 1
0
        public NetOffice.VBIDEApi.VBComponent AddCustom(string progId)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(progId);
            object   returnItem  = Invoker.MethodReturn(this, "AddCustom", paramsArray);

            NetOffice.VBIDEApi.VBComponent newObject = NetOffice.Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.VBIDEApi.VBComponent.LateBindingApiWrapperType) as NetOffice.VBIDEApi.VBComponent;
            return(newObject);
        }
Exemplo n.º 2
0
        public NetOffice.VBIDEApi.VBComponent AddMTDesigner()
        {
            object[] paramsArray = null;
            object   returnItem  = Invoker.MethodReturn(this, "AddMTDesigner", paramsArray);

            NetOffice.VBIDEApi.VBComponent newObject = NetOffice.Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.VBIDEApi.VBComponent.LateBindingApiWrapperType) as NetOffice.VBIDEApi.VBComponent;
            return(newObject);
        }
Exemplo n.º 3
0
 public virtual void Remove(NetOffice.VBIDEApi.VBComponent vBComponent)
 {
     InvokerService.InvokeInternal.ExecuteMethod(this, "Remove", vBComponent);
 }
 public void ItemReloaded(NetOffice.VBIDEApi.VBComponent vBComponent)
 {
     Factory.ExecuteMethod(this, "ItemReloaded", vBComponent);
 }
 public void ItemRenamed(NetOffice.VBIDEApi.VBComponent vBComponent, string oldName)
 {
     Factory.ExecuteMethod(this, "ItemRenamed", vBComponent, oldName);
 }
Exemplo n.º 6
0
 public virtual void ItemAdded(NetOffice.VBIDEApi.VBComponent vBComponent)
 {
     InvokerService.InvokeInternal.ExecuteMethod(this, "ItemAdded", vBComponent);
 }
Exemplo n.º 7
0
 public virtual void ItemRenamed(NetOffice.VBIDEApi.VBComponent vBComponent, string oldName)
 {
     InvokerService.InvokeInternal.ExecuteMethod(this, "ItemRenamed", vBComponent, oldName);
 }
 public void ItemRemoved(NetOffice.VBIDEApi.VBComponent vBComponent)
 {
     object[] paramsArray = Invoker.ValidateParamsArray(vBComponent);
     Invoker.Method(this, "ItemRemoved", paramsArray);
 }
 public void ItemRenamed(NetOffice.VBIDEApi.VBComponent vBComponent, string oldName)
 {
     object[] paramsArray = Invoker.ValidateParamsArray(vBComponent, oldName);
     Invoker.Method(this, "ItemRenamed", paramsArray);
 }