作业帮 > 数学 > 作业

video = new cVideo(pictureBox1.Handle, pictureBox1.Width, pi

来源:学生作业帮 编辑:大师作文网作业帮 分类:数学作业 时间:2024/11/11 00:21:29
video = new cVideo(pictureBox1.Handle, pictureBox1.Width, pictureBox1.Height);这里的video问题怎么解决的啊?
说上下文不存在video,怎么定义啊?
video = new cVideo(pictureBox1.Handle, pictureBox1.Width, pi
video 是你定义的变量名,cVideo 是你要初始化的类名,初始化应该这样写:
cVideo video = new cVideo(pictureBox1.Handle, pictureBox1.Width, pictureBox1.Height)