Where execute Terminate

Topics: CAB & Smart Client Software Factory
Apr 4, 2006 at 10:19 AM
originally posted by: tecnocrata


I understand that Terminate remove all commands references (I'd like that)
But my main questions is where execute Terminate.....???
Now I have a menu item to save and a controller's method like this:

public void SaveCustomer()

this works perfectly

but Terminate only execute when the user save and what about when user select anoter view where can i put Terminate? UnLoad User Control? there are some event or another thing that I'm missing?


Sorry my english is very poor