예제 #1
0
        public static void ClickRightMouseByName(this NataiveMethodsFacade facade, string windowName, string controlName, int timeOut)
        {
            ClickRightMouse element = new ClickRightMouse();

            element.WindowName  = windowName;
            element.ControlName = controlName;
            element.TimeOut     = timeOut;
            element.Execute(element);
        }
예제 #2
0
        public static void ClickRightMouseById(this NataiveMethodsFacade facade, int processId, string automationId, int timeOut)
        {
            ClickRightMouse element = new ClickRightMouse();

            element.ProcessId    = processId;
            element.AutomationId = automationId;
            element.TimeOut      = timeOut;
            element.Execute(element);
        }
예제 #3
0
        public static void ClickRightMouseById(this NataiveMethodsFacade facade, string windowName, string automationId, int timeOut)
        {
            ClickRightMouse element = new ClickRightMouse();

            element.WindowName   = windowName;
            element.AutomationId = automationId;
            element.TimeOut      = timeOut;
            element.Execute(element);
        }
예제 #4
0
        public static void ClickLeftMouseByName(this NataiveMethodsFacade facade, int processId, string controlName, int timeOut)
        {
            ClickLeftMouse element = new ClickLeftMouse();

            element.ProcessId   = processId;
            element.ControlName = controlName;
            element.TimeOut     = timeOut;
            element.Execute(element);
        }
예제 #5
0
        public static void ClickByRightMouse(this NataiveMethodsFacade facade, AutomationElement targetElement, int incrementX, int incrementY, int timeOut)
        {
            ClickRightMouse element = new ClickRightMouse();

            element.IsFindByUser  = true;
            element.IsSetPostion  = true;
            element.targetElement = targetElement;
            element.IncrementX    = incrementX;
            element.IncrementY    = incrementY;
            element.TimeOut       = timeOut;
            element.Execute(element);
        }
예제 #6
0
 public static void ClickByRightMouse(this NataiveMethodsFacade facade, AutomationElement targetElement, int incrementX, int incrementY)
 {
     ClickByRightMouse(facade, targetElement, incrementX, incrementY, 0xea60);
 }
예제 #7
0
 public static void ClickRightMouseByName(this NataiveMethodsFacade facade, string windowName, string controlName)
 {
     ClickRightMouseByName(facade, windowName, controlName, 0xea60);
 }
예제 #8
0
 public static void ClickRightMouseById(this NataiveMethodsFacade facade, string windowName, string automationId)
 {
     ClickRightMouseById(facade, windowName, automationId, 0xea60);
 }
예제 #9
0
 public static void ClickRightMouseByName(this NataiveMethodsFacade facade, int processId, string controlName)
 {
     ClickRightMouseByName(facade, processId, controlName, 0xea60);
 }
예제 #10
0
 public static void ClickRightMouseById(this NataiveMethodsFacade facade, int processId, string automationId)
 {
     ClickRightMouseById(facade, processId, automationId, 0xea60);
 }