void format_changed (object sender, VideoFormatChangedEventArgs args) { OnFormatChange (args.NewFormat); }
public static UnmanagedEventHandler CreateVideoFormatChangedEventArgsEventHandlerDispatcher (EventHandler <VideoFormatChangedEventArgs> handler) { return SafeDispatcher ( (sender, calldata, closure) => { object o = NativeDependencyObjectHelper.FromIntPtr (closure); VideoFormatChangedEventArgs args = new VideoFormatChangedEventArgs (calldata); handler (o, args); } ); }