public LateBindingApi.VBIDE.Window DesignerWindow()
        {
            object returnValue = Invoker.MethodReturn(this, "DesignerWindow", null);

            if (null == returnValue)
            {
                return(null);
            }
            LateBindingApi.VBIDE.Window newClass = new LateBindingApi.VBIDE.Window(this, returnValue);
            return(newClass);
        }
 public LateBindingApi.VBIDE.Window this[object index]
 {
     get
     {
         object[] paramArray = new object[1];
         paramArray[0] = index;
         object returnValue = Invoker.MethodReturn(this, "Item", paramArray);
         if (null == returnValue)
         {
             return(null);
         }
         LateBindingApi.VBIDE.Window newClass = new LateBindingApi.VBIDE.Window(this, returnValue);
         return(newClass);
     }
 }
        public IEnumerator GetEnumerator()
        {
            object    enumProxy  = Invoker.MethodReturn(this, "_NewEnum");
            COMObject enumerator = new COMObject(this, enumProxy);

            Invoker.Method(enumerator, "Reset", null);
            bool isMoveNextTrue = (bool)Invoker.MethodReturn(enumerator, "MoveNext", null);

            while (true == isMoveNextTrue)
            {
                object itemProxy = Invoker.PropertyGet(enumerator, "Current", null);
                LateBindingApi.VBIDE.Window returnClass = new LateBindingApi.VBIDE.Window(this, itemProxy);
                isMoveNextTrue = (bool)Invoker.MethodReturn(enumerator, "MoveNext", null);
                yield return(returnClass);
            }
        }
Ejemplo n.º 4
0
        public LateBindingApi.VBIDE.Window CreateToolWindow(LateBindingApi.VBIDE.AddIn addInInst, string progId, string caption, string guidPosition, COMObject docObj)
        {
            object[] paramArray = new object[5];
            paramArray.SetValue(addInInst, 0);
            paramArray[1] = progId;
            paramArray[2] = caption;
            paramArray[3] = guidPosition;
            paramArray.SetValue(docObj, 4);
            object returnValue = Invoker.MethodReturn(this, "CreateToolWindow", paramArray);

            if (null == returnValue)
            {
                return(null);
            }
            LateBindingApi.VBIDE.Window newClass = new LateBindingApi.VBIDE.Window(this, returnValue);
            return(newClass);
        }
 public void Add(LateBindingApi.VBIDE.Window window)
 {
     object[] paramArray = new object[1];
     paramArray.SetValue(window, 0);
     Invoker.Method(this, "Add", paramArray);
 }