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