Exemple #1
0
        static void testClick(ProcessHandler process)
        {
            Console.WriteLine("getting rect");
            var rect  = process.GetRect();
            var point = new Point(rect.Width / 2, rect.Height / 2);

            Console.WriteLine("Point is: {0}", point);
            Console.WriteLine("Clicking center");
            process.ClickOnPoint(point);
            Console.WriteLine("center should have been clicked");
        }