C#应用AForge.实现对当前窗体的屏幕录制,保存为.avi文件(资源描述很重要!一定看完!)如果报错为:AForge.Video.VideoExceptionMessage=Failedcreatingcompressedstream.Source=AForge.Video.VFW请将writer=newAVIWriter("wmv3")改为writer=newAVIWriter(),即默认保存为.avi文件