Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Hosted WinForm UserControl doesn't respond to click event #8

Open
newbienewbie opened this issue Mar 4, 2024 · 0 comments
Open

Comments

@newbienewbie
Copy link

Hi, thank you for your great blog.

When I follow your article about host WinForm UserControl, I encounter a suitation where the Hosted WinForm UserControl doesn't respond to Click event any more.

How to reproduce

  1. Run the HostingWinFormsDemo
  2. Click the ClickMe button, and the Number clicks does changes as expected.
  3. Minimize the Avalonia App window, do anything else. Just keep the Avalonia App in sleep state for several minutes.
  4. Activate the Avalonia App windows again, Click the ClickMe button, and now the Number clicks does not respond to any click event.

Demo Gif:
hosting-winform-usercontrol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant