Example #1
0
        private void SetPlayMessage(PlayMessageInfo playMessage)
        {
            _playMessage = playMessage;
            SetControlerState(false, true);
            ShareUtils.ShareInfo = _playMessage.ShareInfo;

            xChannelTitleTextBlock.Text = playMessage.Title;
            xPlayerControler.SetProgramButtonState(playMessage.HasPreProgram, playMessage.HasNextProgram);
            xPlayerControler.InitBitrates(playMessage.PlayInfos);
            if (playMessage.CurrentPlayInfo != null)
            {
                xPlayerControler.InitCurrentFileType((PlayFileType)playMessage.CurrentPlayInfo.ft);
            }
        }
Example #2
0
 protected void InitInformation()
 {
     _beginTime   = DateTime.Now;
     _dacPlayInfo = new DACPlayInfo();
     _playMessage = new PlayMessageInfo();
 }
Example #3
0
        void SetPlayMessage(PlayMessageInfo playMessage)
        {
            _playMessage = playMessage;

            titleText.Text = playMessage.Title;
        }