main
 1using System.Collections.Generic;
 2using ComponentFactory.Krypton.Toolkit;
 3using gorilla.commons.utility;
 4
 5namespace MoMoney.Presentation.Winforms.Krypton
 6{
 7    static public class ListboxExtensions
 8    {
 9        static public void bind_to<T>(this KryptonComboBox control, IEnumerable<T> items)
10        {
11            control.Items.Clear();
12            items.each(x => control.Items.Add(x));
13        }
14    }
15}