Print3DTask.SourceChanged 事件

定义

在工作流修改 3D 打印包时发生。

// Register
event_token SourceChanged(TypedEventHandler<Print3DTask, Print3DTaskSourceChangedEventArgs const&> const& handler) const;

// Revoke with event_token
void SourceChanged(event_token const* cookie) const;

// Revoke with event_revoker
Print3DTask::SourceChanged_revoker SourceChanged(auto_revoke_t, TypedEventHandler<Print3DTask, Print3DTaskSourceChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<Print3DTask,Print3DTaskSourceChangedEventArgs> SourceChanged;
function onSourceChanged(eventArgs) { /* Your code */ }
print3DTask.addEventListener("sourcechanged", onSourceChanged);
print3DTask.removeEventListener("sourcechanged", onSourceChanged);
- or -
print3DTask.onsourcechanged = onSourceChanged;
Public Custom Event SourceChanged As TypedEventHandler(Of Print3DTask, Print3DTaskSourceChangedEventArgs) 

事件类型

适用于