public override void Initialize()
        {
            base.Initialize();

            m_MpdnFormHandle = PlayerControl.Form.Handle;

            m_UpdateTimer       = new Timer();
            m_UpdateTimer.Tick += UpdateTimerTick;
            m_Playlist          = GetPlaylistInstance();

            PlayerControl.PlayerStateChanged += PlayerStateChanged;
            PlayerControl.MediaLoaded        += MediaLoaded;

            CreateToolBarButtons();
        }
        private void SetupServer()
        {
            Subscribe();
            _locationTimer          = new Timer(100);
            _locationTimer.Elapsed += _locationTimer_Elapsed;
            _clientManager          = new RemoteClients(this);
            var playlist = PlayerControl.PlayerExtensions.FirstOrDefault(t => t.Descriptor.Guid == _playlistGuid);

            if (playlist != null)
            {
                _playlistInstance = playlist as Playlist.Playlist;
                if (_playlistInstance != null)
                {
                    _playlistInstance.GetPlaylistForm.VisibleChanged  += GetPlaylistForm_VisibleChanged;
                    _playlistInstance.GetPlaylistForm.PlaylistChanged += GetPlaylistForm_PlaylistChanged;
                }
            }
            Task.Factory.StartNew(Server);
        }