public class FormsWindow extends Window
| Modifier | Constructor and Description |
|---|---|
protected |
FormsWindow(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 FormsWindow。
|
| Modifier and Type | Method and Description |
|---|---|
void |
loadAssembly(String assemblyFile)
加载 Windows Forms 应用程序的指定路径中的程序集。
|
close, closeSynchron, closeSynchron, getApplication, getCloseWindows, getFocus, getNextCloseWindow, getWindowState, isActive, maximize, minimize, move, restore, setActive, sizegetHorizontalBar, getVerticalBar, openContextMenu, openContextMenuclick, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getBackground, getFont, getForeground, getNativeHandle, isEnabled, isFocused, isVisible, mouseMove, mouseMove, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, setBackground, setEnabled, setFocus, setFont, setForeground, setVisible, typeKeys, typeKeys, typeKeys, typePasswordKeys, typePasswordKeys, typePasswordKeyscaptureBitmap, captureBitmap, exists, exists, generateLocator, getChildren, getDynamicMethodList, getParent, getPropertyList, getRect, getRect, getText, getValue, highlightObject, highlightObject, highlightObject, invokeMethods, textCapture, textCapture, textClick, textClick, textClick, textClick, textClick, textClick, textExists, textExists, textExists, textExists, textExists, textRectangle, textRectangle, textRectangle, textRectangle, textRectangle, waitForChildDisappearance, waitForChildDisappearance, waitForDisappearance, waitForDisappearance, waitForObject, waitForObject, waitForProperty, waitForPropertyequals, exists, find, find, findAll, findAll, getCustomTypeName, getDesktop, getHandle, getLocator, getProperty, getTypeName, hashCode, imageClick, imageClick, imageClick, imageClick, imageClick, imageClick, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageExists, imageExists, imageExists, imageExistsFile, imageExistsFile, imageExistsFile, imageRectangle, imageRectangle, imageRectangle, imageRectangleFile, imageRectangleFile, imageRectangleFile, invoke, preventFinalLocator, setProperty, toStringprotected FormsWindow(JtfObjectHandle handle, Desktop desktop)
handle - 可确定 FormsWindow 的句柄desktop - 此对象所在的桌面public void loadAssembly(String assemblyFile)
加载其他程序集的主要使用案例,该程序集包含可通过“动态调用”功能调用的实用方法。
assemblyFile - 可加载的程序集路径Copyright 2009-2012 Micro Focus. All Rights Reserved.