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);
}