I wa开发者_如何学Cnt to play a video file in winforms, having a control that decides if to play or stop. Is there an easy way to do that in winforms? Is there a simple framework to help me do that?
Right click the toolbox, Choose Items. Select the COM components tab and tick "Windows Media Player". Drop it on your form. Programming guide is here.
You can embed Windows Media Player in your form using a COM component:
http://msdn.microsoft.com/en-us/library/bb383953%28v=vs.90%29.aspx
精彩评论