Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I need a scenario where I need to show all methods in a list view and a the point of executing the program Ii need to show that in listview that method is executing with some tick mark after completion. considering method taking some time.


Thanks in adv..
Posted
Updated 25-May-10 18:52pm
v4
Comments
Sandeep Mewara 26-May-10 0:34am    
You changed it from Web to Windows application. Is that correct?

You can use Policy Injection Application Block provided by Microsoft and defined some policies over you methods for pre and post handling of the method. In the pre and post handler you can raise events to updated the listview with desired information.

For more details on Policy Injection Application Block check
http://msdn.microsoft.com/en-us/library/ff648328(v=PandP.10).aspx[^]
 
Share this answer
 
You might want to access the call stack through code.
See here.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900