cancel OnDeactivating event failed

Topics: CAB & Smart Client Software Factory
Feb 12, 2006 at 5:23 AM
originally posted by: thejoe

there are two workitems in my application, one for master view, one for detail view. when jump into view2 from view1, workitem1 should change to inactive then workitem2 to active. but if i set CancelEventArgs.Cancel = true in OnDeactivating event of workitem1, workitem1 keep active(it is what i expect), but workitem2 still change to active(i think this change should be canceled too). and the document say there is only one active workitem in the whole application, is there anything i miss?