T
theinvisibleGhost
Is there an underlying interface anywhere
that .NET form controls use to include the Enter, Leave, GotFocus, and
LostFocus events?
I have a problem where I've got a usercontrol
which is being used in a Media Player Plugin.
The plugin offers C# Scripting capabilities through
an Open Source Scripting engine.
I want to detect if scripts have been changed by another program.
I've used the FileSystemWatcher with varied success,
but what I need to do now is detect when the user returns
to the Media Player and hence the UserControl plugin.
I've tried GotFocus and so on, just on the panel itself,
but the events aren't raised because of the controls on the panel.
My theory is that if I add a single eventHandler to each control on the
panel it should work, but to do this I need to be able to iterate
through
the controls on a single interface that acknowledges the .Enter
event.
that .NET form controls use to include the Enter, Leave, GotFocus, and
LostFocus events?
I have a problem where I've got a usercontrol
which is being used in a Media Player Plugin.
The plugin offers C# Scripting capabilities through
an Open Source Scripting engine.
I want to detect if scripts have been changed by another program.
I've used the FileSystemWatcher with varied success,
but what I need to do now is detect when the user returns
to the Media Player and hence the UserControl plugin.
I've tried GotFocus and so on, just on the panel itself,
but the events aren't raised because of the controls on the panel.
My theory is that if I add a single eventHandler to each control on the
panel it should work, but to do this I need to be able to iterate
through
the controls on a single interface that acknowledges the .Enter
event.