private void btnAutomationMouse_Click(object sender, RoutedEventArgs e)
        {
            if (_automationSelectedWindow == null)
            {
                Utilities.Message("Please first select window for input automation.");
                return;
            }

            var mouseInput = new MouseInput((data, representation) =>
            {
                object inputData = data;
                Automation.InputDataType dataType = InputDataType.VKXY;

                _automationCurrentInputEvent = new InputEvent(inputData, null, representation, dataType, Automation.InputType.Mouse);
                txtAutomation.Text = representation;
            }, () =>
            {
                _automationCurrentInputEvent = null;
                txtAutomation.Text = "";
            });
            mouseInput.ShowDialog();
        }