示例#1
0
 private void loader()
 {
     thisVideo.incViews();
     axWindowsMediaPlayer1.URL = thisVideo.getURL();
     labelVideoName.Text       = thisVideo.getName();
     labelLikesNum.Text        = thisVideo.getLikes().ToString();
     labelDislikesNum.Text     = thisVideo.getDislikes().ToString();
     labelViewsNum.Text        = thisVideo.getViews().ToString();
     labelCreatorName.Text     = thisVideo.getcreatorName();
     buildComments();
     populateVideoItems();
     //update ths to load checks from user
     handleChecked           = false;
     checkBoxLike.Checked    = false;
     checkBoxDislike.Checked = false;
     handleChecked           = true;
 }