/// <summary>
 /// 绑定单击事件
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void xSocial_UnBindTapEvent(object sender, SocialEventArgs e)
 {
     if (UnBindTapEvent != null)
     {
         UnBindTapEvent(sender, e);
     }
 }
 /// <summary>
 /// 分享单击事件
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void xSocial_SocialTapEvent(object sender, SocialEventArgs e)
 {
     if (SocialTapEvent != null)
     {
         SocialTapEvent(sender, e);
     }
 }
Example #3
0
        /// <summary>
        /// 节目分享单击事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        void xShareItemGroup_SocialTapAction(object sender, Controls.SocialEventArgs e)
        {
            var channelTitle = _programIndex == -1 ? _channelDetailInfo.Title
                : string.Format("{0} {1}", _channelDetailInfo.Title, _channelDetailInfo.ProgramInfos[_programIndex].Title);
            var channelId = _programIndex == -1 ? _channelDetailInfo.VID
                : _channelDetailInfo.ProgramInfos[_programIndex].ChannelVID;

            e.SocialData.SocialShare(channelTitle,
                                     PPTVData.Utils.ConvertToWebSite(channelId), xShareItemGroup_ShareCompleted);
            xShareItemGroup.IsShowEnabled = false;
        }
Example #4
0
 /// <summary>
 /// 绑定单击事件
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void xShareItemGroup_UnBindTapEvent(object sender, Controls.SocialEventArgs e)
 {
     Utils.SocialUtils.NavigateToSocial(e.SocialType, this);
 }
Example #5
0
 /// <summary>
 /// 绑定单击事件
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void xSocial_UnBindTapEvent(object sender, SocialEventArgs e)
 {
     if (UnBindTapEvent != null)
         UnBindTapEvent(sender, e);
 }
Example #6
0
 /// <summary>
 /// 分享单击事件
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void xSocial_SocialTapEvent(object sender, SocialEventArgs e)
 {
     if (SocialTapEvent != null)
         SocialTapEvent(sender, e);
 }