IWindow
Last updated
Last updated
An interface for a UI Window. See Window in the Enironment Model for an actual implementation.
Namespace: Progile.TRIO.BaseModel Assembly: Progile.TRIO.BaseModel (in Progile.TRIO.BaseModel.dll)
Name
Description
Closes the window by clicking the close icon. Does not handle any dialogs (e.g. save request) that might pop up.
Maximizes the window by clicking the maximize icon. Redefines the ScreenSelect after maximizing. If maximize icon is not shown, method assumes the window is already maximized and doesn't do anything.
Minimizes the window by clicking the minimize icon.
Restores the window by clicking the restore icon. Redefines the ScreenSelect after restoring. If restore icon is not shown, method assumes the window is already restored and doesn't do anything.
Name
Description
The icon to close the window.
The tolerance to use in the SelectFromColorAtPoint method when defining the ScreenSelect. Default is 0.2, which allows the floodFill algorithm to pass through most standard windows but is stopped by the border around the window.
The icon to maximize the window.
The icon to minimize the window.
The icon to restore the window.