Exemplo n.º 1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="e"></param>
 protected virtual void OnEventManageButtonClick(VideoInfoEventArg e)
 {
     if (EventManageButtonClick != null)
     {
         EventManageButtonClick(this, e);
     }
 }
Exemplo n.º 2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ManageButtonsClick(object sender, VideoInfoEventArg e)
        {
            Logger logger = LogManager.GetCurrentClassLogger();

            logger.Info("UserID:" + e.UserID);

            string videoId = e.VideoURL.Replace("http://www.nicovideo.jp/watch/", "");

            this.ShowVideoInfo2Own(e.VideoTitle, videoId, e.UserID);
        }
Exemplo n.º 3
0
        /// <summary>
        /// 運営ボタンクリックイベント
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ManagerButton_Click(object sender, EventArgs e)
        {
            VideoInfoEventArg info = new VideoInfoEventArg();

            info.CommentNo    = this.CommentNo;
            info.UserID       = this.UserID;
            info.VideoTitle   = this.VideoTitle;
            info.VideoTime    = this.VideoTime;
            info.VideoURL     = this.VideoURL;
            info.ThumbnailURL = this.ThumbnailURL;

            OnEventManageButtonClick(info);
        }
Exemplo n.º 4
0
        /// <summary>
        /// 
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ManageButtonsClick(object sender, VideoInfoEventArg e)
        {
            Logger logger = LogManager.GetCurrentClassLogger();
            logger.Info("UserID:" + e.UserID);

            string videoId = e.VideoURL.Replace("http://www.nicovideo.jp/watch/", "");

            this.ShowVideoInfo2Own(e.VideoTitle, videoId, e.UserID);
        }
Exemplo n.º 5
0
        /// <summary>
        /// 運営ボタンクリックイベント
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ManagerButton_Click(object sender, EventArgs e)
        {
            VideoInfoEventArg info = new VideoInfoEventArg();

            info.CommentNo = this.CommentNo;
            info.UserID = this.UserID;
            info.VideoTitle = this.VideoTitle;
            info.VideoTime = this.VideoTime;
            info.VideoURL = this.VideoURL;
            info.ThumbnailURL = this.ThumbnailURL;

            OnEventManageButtonClick(info);
        }
Exemplo n.º 6
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="e"></param>
 protected virtual void OnEventManageButtonClick(VideoInfoEventArg e)
 {
     if(EventManageButtonClick != null)
     {
         EventManageButtonClick(this, e);
     }
 }