protected MediaWindowHost() { _mwHandler = new MediaWindowHandler(this); InitializeMediaEngine(); Application.Current.MainWindow.LocationChanged += new EventHandler(MainWindow_LocationChanged); }
public MediaWindowHost() { // This call is required by the Windows.Forms Form Designer. InitializeComponent(); SetStyle(ControlStyles.Selectable, false); _mwHandler = new MediaWindowHandler(this); BackColor = Color.Black; InitializeMediaEngine(); }