mirror of
https://github.com/chylex/TweetDuck.git
synced 2024-11-14 17:42:47 +01:00
18 lines
474 B
C#
18 lines
474 B
C#
using System.ComponentModel;
|
|
using System.Windows.Forms;
|
|
using WMPLib;
|
|
|
|
namespace TweetDuck.Video{
|
|
[DesignTimeVisible(true)]
|
|
[Clsid("{6bf52a52-394a-11d3-b153-00c04f79faa6}")]
|
|
class ControlWMP : AxHost{
|
|
public WindowsMediaPlayer Ocx { get; private set; }
|
|
|
|
public ControlWMP() : base("6bf52a52-394a-11d3-b153-00c04f79faa6"){}
|
|
|
|
protected override void AttachInterfaces(){
|
|
Ocx = (WindowsMediaPlayer)GetOcx();
|
|
}
|
|
}
|
|
}
|