|
|
hi,
I searching for a solution where I can save the entity framework context when the user swichtes between different tab pages. Is there an event or how can I achieve this?
the smartparts only have the activated and closing events.
I tried with the VisibleChanged event, without sucess?!?
any suggestions?
thanks,
thorsten
|
|
Developer
Oct 17, 2011 at 12:38 PM
|
Thorsten,
You might find the SmartPartActivated event in the TabWorkspace class useful, which "occurs on
SmartPart activation. The WorkSpaceEventArgs provides access to the activated
SmartPart."
You can find more informatoin about this in the following article from the SCSF MSDN documentation:
Design of Workspaces
I hope you find this helpful.
Guido Leandro Maliandi
http://blogs.southworks.net/gmaliandi
|
|
|
|
thanks!
|
|