Пример #1
0
		void format_changed (object sender, VideoFormatChangedEventArgs args)
		{
			OnFormatChange (args.NewFormat);
		}
Пример #2
0
		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); } );
		}