nature_net.user_controls.window_content.list_all_comments C# (CSharp) Метод

list_all_comments() публичный Метод

public list_all_comments ( ) : void
Результат void
        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);
        }

Usage Example

Пример #1
0
        public static void open_collection_window(string username, int userid, double pos_x, double pos_y)
        {
            if (window_manager.collection_frames.Count + 1 > configurations.max_collection_frame)
                return;

            window_frame frame = new window_frame();
            window_content content = new window_content();
            collection_listbox c_listbox = new collection_listbox();
            c_listbox.parent = frame;
            c_listbox.list_all_contributions(username);
            content.initialize_contents(c_listbox, Type.GetType("nature_net.User"), userid, frame, username + "'s " + configurations.frame_title);
            frame.window_content.Content = content;
            content.list_all_comments();

            window_manager.collection_frames.Add(frame);
            open_window(frame, pos_x, pos_y);
            frame.set_title(username + "'s " + configurations.frame_title);
        }
All Usage Examples Of nature_net.user_controls.window_content::list_all_comments