0
Answer

Using Windows Forms and Interception

Ask a question
Andreas M

Andreas M

18y
1.6k
1
Hi all,

I have successfuly created a Console Application based on the well-known LogBook example on .NET Concepts and Interception which works fine. I call a method and the .NET intercepts it and does some pre- and post- processing. However, when I am trying to convert the above solution into having a GUI, pressing the button to call the method and trying to intercept this call to the method nothing seems to be working. I am using exactly the same methods and attributes as in the Console application. Am I missing something in the relation of Windows Forms and Interception?

Any help would be greatly appreciated.

Thank you,

Andreas