示例#1
0
        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);
 }