ext/UiaDll/UiaDll/AutomationClicker.h in rautomation-0.9.0 vs ext/UiaDll/UiaDll/AutomationClicker.h in rautomation-0.9.1

- old
+ new

@@ -1,19 +1,20 @@ #pragma once using namespace System::Windows::Automation; using namespace System::Windows::Forms; using namespace System::Drawing; -ref class AutomationClicker +#include "AutomationControl.h" + +ref class AutomationClicker : AutomationControl { public: - AutomationClicker(const HWND windowHandle); + AutomationClicker(const HWND windowHandle) : AutomationControl(windowHandle) {} + AutomationClicker(const FindInformation& findInformation) : AutomationControl(findInformation) {} void Click(); void MouseClick(); private: - AutomationElement^ _automationElement; - bool CanInvoke(); void Invoke(); bool CanToggle(); void Toggle(); \ No newline at end of file