© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
4 replies
Curious

✅ Win Form Event Handlers question

Hi, I was just wondering if there is an event handler when the win form is idle that I can then run code in. I am looking to use it as a modeless form alongside the Revit API to sync a 2D drawing and a 3D model view together. I am currently using the Revit API Idle event, however I want to change this method of functionality to be toggled via a button in a win form as it adds unnecessary load to the Revit application.

Once alternative method I thought about was running on a mouse move event, or if there is some kind of user input.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Event handlers not registering
C#CC# / help
2y ago
Blazor - No event handlers associated
C#CC# / help
2y ago
❔ Arrow key support Win Form
C#CC# / help
4y ago
❔ ✅ C# event question
C#CC# / help
3y ago