You can add a property or method to your form, which accepts List<items>and populates a ComboBox.
For instance:
List<ItemType> items = GetItemsForFormsComboBox();
frmChild frm = new frmChild();
frm.SetComboItems(items);
frm.ShowDialog();
public void SetComboItems(List<ItemType> items)
{
foreach(var item in items)
{
myCombo.Add( );
}
}
source
share