private void postCommentToPhoto()
 {
     if (!(textBoxComment.Text == null) && !(textBoxComment.Text == string.Empty))
     {
         Photo selectedPhoto = listBoxPhotos.SelectedItem as Photo;
         selectedPhoto.Comment(textBoxComment.Text);
         textBoxComment.Text = string.Empty;
     }
 }
Example #2
0
        private void postComment()
        {
            // FacebookWrapper.dll throws exception - commenting is deprecated.
            try
            {
                m_Photo.Comment(ImageCommentBox.Text);
            }
            catch
            {
            }

            ImageCommentBox.Clear();
            ImageCommentBox.Font = new Font(ImageCommentBox.Font, FontStyle.Bold);
            ImageCommentBox.Text = "Comment Posted !";
            ImageCommentBox.Refresh();
            Thread.Sleep(2000);
            ImageCommentBox.Font = new Font(ImageCommentBox.Font, FontStyle.Regular);
            ImageCommentBox.Clear();
        }
Example #3
0
 public void CommentOnPost(string i_TextToComment)
 {
     m_SelectedPhoto.Comment(i_TextToComment);
 }
Example #4
0
        internal bool CommentOnEventSelctedPhoto(string i_Comment)
        {
            Comment comment = m_EventSelectedPhoto.Comment(i_Comment);

            return(comment != null);
        }