Beispiel #1
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="form">The application form.</param>
 /// <param name="targetPoint">The screen coordinates of the cursor.</param>
 /// <param name="scope">The TreeScope for caching.</param>
 /// <param name="mode">The mode for caching.</param>
 public UIAutomationFetcher(FetchTimerForm form,
                            System.Windows.Point targetPt,
                            TreeScope scope, AutomationElementMode cacheMode)
 {
     appForm     = form;
     treeScope   = scope;
     targetPoint = targetPt;
     mode        = cacheMode;
 }
Beispiel #2
0
 /// <summary>
 ///     Constructor.
 /// </summary>
 /// <param name="form">The application form.</param>
 /// <param name="targetPoint">The screen coordinates of the cursor.</param>
 /// <param name="scope">The TreeScope for caching.</param>
 /// <param name="mode">The mode for caching.</param>
 public UiAutomationFetcher(FetchTimerForm form,
                            Point targetPt,
                            TreeScope scope, AutomationElementMode cacheMode)
 {
     _appForm     = form;
     _treeScope   = scope;
     _targetPoint = targetPt;
     _mode        = cacheMode;
 }
 /// <summary>
 ///     Constructor.
 /// </summary>
 /// <param name="form">The application form.</param>
 /// <param name="targetPoint">The screen coordinates of the cursor.</param>
 /// <param name="scope">The TreeScope for caching.</param>
 /// <param name="mode">The mode for caching.</param>
 public UiAutomationFetcher(FetchTimerForm form,
     Point targetPt,
     TreeScope scope, AutomationElementMode cacheMode)
 {
     _appForm = form;
     _treeScope = scope;
     _targetPoint = targetPt;
     _mode = cacheMode;
 }