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; } }
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(); }
public void CommentOnPost(string i_TextToComment) { m_SelectedPhoto.Comment(i_TextToComment); }
internal bool CommentOnEventSelctedPhoto(string i_Comment) { Comment comment = m_EventSelectedPhoto.Comment(i_Comment); return(comment != null); }