adding an event to ISmartPartInfoProvider

Topics: CAB & Smart Client Software Factory
Aug 23, 2005 at 2:07 AM
originally posted by: olivier_higelin

public interface ISmartPartInfoProvider
{
event EventHandler<EventArgs> Chanded;
ISmartPartInfo SmartPartInfo { get; }
}
This event could be used by the workspace to update the way a smartpart is displayed.
For example, if a smartpart is used to edit a file, the Smartpartinfo.Title could be set to the file name "readme.txt".
When the user modifies the text , the smartpart info could be changed into "readme.txt*" , and be notified to the workspace to update some visual item (the window title bar for example)
Aug 28, 2005 at 2:34 PM
originally posted by: BradWilsonMSFT

We would like to enhance the communication between the smart part and its workspace, and may consider something like this.

Thanks!
Oct 11, 2005 at 11:43 PM
originally posted by: olivier_higelin

I looked at CTP2 and I didn't see anything allowing a Workspace to be notified that a SmartpartInfo has changed.

You said "We would like to enhance the communication between the smart part and its workspace, and may consider something like this".

Could you tell what did you mean by that ?

Regards