public LineupMgrDlg(Boolean testMode) { if (!testMode) { InitializeComponent(); } WorkingLineup = new LineupDataObj(RecordIndex.getNextId(RecordIndex.INDEX.LineupDataId)); balanceItems = LineupTools.buildDefaultLineupTypes(); if (!testMode) { populateComboBoxes(CB_FROM, CB_TO, null); } }
public void Initialize() { balanceItems = LineupTools.buildDefaultLineupTypes(); RecordIndex.resetIndex(RecordIndex.INDEX.TestTeamId); RecordIndex.resetIndex(RecordIndex.INDEX.TestLineupDataId); }