Hi could you help me to find out how can I watch which method is called
in some object?
I would like to do functionality that shows in dialog window (Windows
forms) a proggres bar while in backgroun window runs some functionality
like loading or updating data in form. Yes I can do this by showing Wait
cursor to users but this is for me not enought.;)
I would like to do that easiest as posible for implementation on
existing code. So I have some idea to have a "listener" thats hooks on
Form object and listen to method calls with specified custom Attribute
on methods that are doing loading or other app freeze functionality. And
I look if a method has my attribute and if is true I show up dilaog
window with progres bar.
Could you help me find out which object can listen to method calls or if
you have some other solution on my problem?
Thanks a lot
Frankie