Пример #1
0
        public static void SetText(Point point, string textToSet)
        {
            var    helperAutomation = new HelperAutomation();
            IntPtr windowFromPoint  = helperAutomation.WindowFromPoint(point);

            SetText(windowFromPoint, textToSet);
        }
Пример #2
0
        public static string GetText(Point point)
        {
            var    helperAutomation = new HelperAutomation();
            IntPtr windowFromPoint  = helperAutomation.WindowFromPoint(point);

            return(GetText(windowFromPoint));
        }