public void list_all_comments()
 {
     comment_item i = new comment_item();
     i._object_id = this._object_id; i._object_type = this._object_type;
     this.comments_listbox.populator.item_width = this.comments_listbox._list.Width - 4;
     this.comments_listbox.populator.total_number = this.number_comments;
     this.comments_listbox.populator.reply_clicked_handler = new reply_clicked(this.replybutton_clicked);
     this.comments_listbox.populator.list_all_comments(i);
 }
Пример #2
0
 // for comments
 public void list_all_comments(comment_item item)
 {
     this.list_comments = true;
     worker.DoWork += new DoWorkEventHandler(get_all_comments);
     worker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(display_all_comments);
     if (!worker.IsBusy)
         worker.RunWorkerAsync(item);
 }
 // for comments
 public void list_all_comments(comment_item item)
 {
     if (!worker_comments.IsBusy)
         worker_comments.RunWorkerAsync(item);
 }