public users_listbox() { InitializeComponent(); header.title.Content = configurations.users_listbox_header; create_signup_item(); this.users_list.initialize(false, "user", new ItemSelected(this.item_selected)); this.users_list.content_name = "Users listbox"; //this.users_list.populator.initial_item = signup; header.atoz_order = new AToZOrder(this.atoz_order); header.top_order = new TopOrder(this.top_order); header.recent_order = new RecentOrder(this.recent_order); this.users_list.populator.header = header; this.users_list.Background = Brushes.White; this.refresher = new list_refresher(); this.refresher.users_populator = this.users_list.populator; }
public activities_listbox() { InitializeComponent(); header.title.Content = configurations.activities_listbox_header; create_submit_design_item(); //this.activities_listbox.parent = this; //this.activities_listbox.list_all_activities(); this.activities_list.initialize(false, "activity", new ItemSelected(this.activity_item_selected)); this.activities_list.content_name = "Activities listbox"; header.atoz_order = new AToZOrder(this.atoz_order); header.top_order = new TopOrder(this.top_order); header.recent_order = new RecentOrder(this.recent_order); this.activities_list.populator.header = header; this.activities_list.Background = Brushes.White; this.refresher = new list_refresher(); this.refresher.activities_populator = this.activities_list.populator; }
public design_ideas_listbox() { InitializeComponent(); header.title.Content = configurations.design_idea_listbox_header; header.top.Content = configurations.design_idea_lisbox_top_text; create_submit_design_item(); this.design_ideas_list.initialize(false, "design idea", new ItemSelected(item_selected)); this.design_ideas_list.content_name = "Design ideas listbox"; //this.design_ideas_list.populator.initial_item = submit_idea; header.atoz_order = new AToZOrder(this.atoz_order); header.top_order = new TopOrder(this.top_order); header.recent_order = new RecentOrder(this.recent_order); this.design_ideas_list.populator.header = header; like_handler = new thumbs_up(this.like_touched); this.design_ideas_list.populator.thumbs_up_handler = like_handler; //this.design_ideas_list.populator.thumbs_down_handler = new thumbs_down(this.dislike_touched); this.design_ideas_list.Background = Brushes.White; this.refresher = new list_refresher(); this.refresher.design_ideas_populator = this.design_ideas_list.populator; }