video = new cVideo(pictureBox1.Handle, pictureBox1.Width, pictureBox1.Height);这里的video问题怎么解决的啊?说上下文不存在video,怎么定义啊?

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/20 00:19:58
video=newcVideo(pictureBox1.Handle,pictureBox1.Width,pictureBox1.Height);这里的video问题怎么解决的啊?说上下文不存在vid

video = new cVideo(pictureBox1.Handle, pictureBox1.Width, pictureBox1.Height);这里的video问题怎么解决的啊?说上下文不存在video,怎么定义啊?
video = new cVideo(pictureBox1.Handle, pictureBox1.Width, pictureBox1.Height);这里的video问题怎么解决的啊?
说上下文不存在video,怎么定义啊?

video = new cVideo(pictureBox1.Handle, pictureBox1.Width, pictureBox1.Height);这里的video问题怎么解决的啊?说上下文不存在video,怎么定义啊?
video 是你定义的变量名,cVideo 是你要初始化的类名,初始化应该这样写:
cVideo video = new cVideo(pictureBox1.Handle, pictureBox1.Width, pictureBox1.Height)