G
Guest
I am creating a Winform app will be run over the Internet and I want to use
the default security profile for ClickOnce Internet apps. This app has
custom controls that override the OnPreviewKeyDown method (necessary to get
access to arrow keys in the OnKeyDown method). However, by just including an
empty OnPreviewKeyDown method in a control class, a security exception occurs
unless "UnmanagedCode" is added to the SecurityPermission class. Is
OnPreviewKeyDown an unmanaged method, or am I missing something?
Thanks,
George
the default security profile for ClickOnce Internet apps. This app has
custom controls that override the OnPreviewKeyDown method (necessary to get
access to arrow keys in the OnKeyDown method). However, by just including an
empty OnPreviewKeyDown method in a control class, a security exception occurs
unless "UnmanagedCode" is added to the SecurityPermission class. Is
OnPreviewKeyDown an unmanaged method, or am I missing something?
Thanks,
George