public GagesForm() { InitializeComponent(); List <Pack> packs = ModelPackList.load("pack_gage"); foreach (Pack p in packs) { comboBoxPackGages.Items.Add(p); } }
public QuestionsForm() { InitializeComponent(); List <Pack> packs = ModelPackList.load("pack_question"); foreach (Pack p in packs) { comboBoxQuestions.Items.Add(p); } }
public PacksListForm() { InitializeComponent(); List <Pack> packsG = ModelPackList.load("pack_gage"); List <Pack> packsQ = ModelPackList.load("pack_question"); foreach (Pack p in packsG) { listItemGages.Items.Add(p); } foreach (Pack p in packsQ) { listItemQuestions.Items.Add(p); } }