www.pudn.com > motion.zip > Events.cs
namespace videosource
{
using System;
using System.Drawing.Imaging;
// NewFrame delegate
public delegate void CameraEventHandler(object sender, CameraEventArgs e);
///
/// Camera event arguments
///
public class CameraEventArgs : EventArgs
{
private System.Drawing.Bitmap bmp;
// Constructor
public CameraEventArgs(System.Drawing.Bitmap bmp)
{
this.bmp = bmp;
}
// Bitmap property
public System.Drawing.Bitmap Bitmap
{
get { return bmp; }
}
}
}