作者reptile0426 ( )
看板C_Sharp
标题[问题] interface的问题
时间Thu Oct 11 17:07:42 2007
interface被继承之後,不是要在各个继承的class下面写出各个method
这个例子我实在有点看不懂~
因为在237行
this.videoWindow = (IVideoWindow) this.graphBuilder;
而在286行
hr = this.videoWindow.put_Owner(this.Handle);
却直接执行他里面的function
我都看不到这只程式到底在哪implement这个function
导致我到现在整只程式都有点茫然看不懂
请各位高手帮忙解释给小弟我听一下 还是小弟我有观念的错误
整个专案:
http://stweb.cgu.edu.tw/~m9529023/PlayCap.rar
(这是directshow的范例)
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 163.25.101.28