public Int32 WindowDeactivate(NetOffice.ExcelApi.Workbook wb, NetOffice.ExcelApi.Window wn) { object[] paramsArray = Invoker.ValidateParamsArray(wb, wn); object returnItem = Invoker.MethodReturn(this, "WindowDeactivate", paramsArray); return(NetRuntimeSystem.Convert.ToInt32(returnItem)); }
public void WindowDeactivate([In, MarshalAs(UnmanagedType.IDispatch)] object wn) { if (!Validate("WindowDeactivate")) { Invoker.ReleaseParamsArray(wn); return; } NetOffice.ExcelApi.Window newWn = Factory.CreateKnownObjectFromComProxy <NetOffice.ExcelApi.Window>(EventClass, wn, NetOffice.ExcelApi.Window.LateBindingApiWrapperType); object[] paramsArray = new object[1]; paramsArray[0] = newWn; EventBinding.RaiseCustomEvent("WindowDeactivate", ref paramsArray); }
public void WindowDeactivate([In, MarshalAs(UnmanagedType.IDispatch)] object wn) { Delegate[] recipients = _eventBinding.GetEventRecipients("WindowDeactivate"); if ((true == _eventClass.IsCurrentlyDisposing) || (recipients.Length == 0)) { Invoker.ReleaseParamsArray(wn); return; } NetOffice.ExcelApi.Window newWn = NetOffice.Factory.CreateObjectFromComProxy(_eventClass, wn) as NetOffice.ExcelApi.Window; object[] paramsArray = new object[1]; paramsArray[0] = newWn; _eventBinding.RaiseCustomEvent("WindowDeactivate", ref paramsArray); }
/// <summary> /// /// </summary> /// <param name="wb"></param> /// <param name="wn"></param> public void WindowDeactivate([In, MarshalAs(UnmanagedType.IDispatch)] object wb, [In, MarshalAs(UnmanagedType.IDispatch)] object wn) { if (!Validate("WindowDeactivate")) { Invoker.ReleaseParamsArray(wb, wn); return; } NetOffice.ExcelApi.Workbook newWb = Factory.CreateKnownObjectFromComProxy <NetOffice.ExcelApi.Workbook>(EventClass, wb, typeof(NetOffice.ExcelApi.Workbook)); NetOffice.ExcelApi.Window newWn = Factory.CreateKnownObjectFromComProxy <NetOffice.ExcelApi.Window>(EventClass, wb, typeof(NetOffice.ExcelApi.Window)); object[] paramsArray = new object[2]; paramsArray[0] = newWb; paramsArray[1] = newWn; EventBinding.RaiseCustomEvent("WindowDeactivate", ref paramsArray); }
public Int32 WindowDeactivate(NetOffice.ExcelApi.Window wn) { return(Factory.ExecuteInt32MethodGet(this, "WindowDeactivate", wn)); }
public Int32 WindowResize(NetOffice.ExcelApi.Workbook wb, NetOffice.ExcelApi.Window wn) { return(Factory.ExecuteInt32MethodGet(this, "WindowResize", wb, wn)); }