예제 #1
5
 public static string GetText(Point point) {
     var helperAutomation = new HelperAutomation();
     IntPtr windowFromPoint = helperAutomation.WindowFromPoint(point);
     return GetText(windowFromPoint);
 }
예제 #2
0
        public static void SetText(Point point, string textToSet)
        {
            var    helperAutomation = new HelperAutomation();
            IntPtr windowFromPoint  = helperAutomation.WindowFromPoint(point);

            SetText(windowFromPoint, textToSet);
        }
예제 #3
0
        public static string GetText(Point point)
        {
            var    helperAutomation = new HelperAutomation();
            IntPtr windowFromPoint  = helperAutomation.WindowFromPoint(point);

            return(GetText(windowFromPoint));
        }
예제 #4
-2
 public static void SetText(Point point, string textToSet) {
     var helperAutomation = new HelperAutomation();
     IntPtr windowFromPoint = helperAutomation.WindowFromPoint(point);
     SetText(windowFromPoint, textToSet);
 }