PPT_LOGO_4b
‹#›
事件
DocumentPart Events
Changed
ModelGeometryMaterialChanged
Application.ActiveDocument.CurrentSelection.Changed +=
  new EventHandler<EventArgs>(CurrentSelection_Changed);
private void CurrentSelection_Changed(object sender, EventArgs e)
{
  
}
Event Handlers
Document parts all have events for when the part of the document they represent changes, or is about to change in some cases. A couple of example events are shown here.
You can respond to these events in the normal .NET way.
First, you add an event handler to the event,
Then write your event handler. This one takes the standard event args, but some other events might take more specialised event args.