Beispiel #1
0
 private void saveTenLevel()
 {
     Row first = new Row(1);
     Row second = new Row(2);
     Row third = new Row(3);
     Row fourth = new Row(4);
     List<Row> listOfRows = new List<Row>() { first, second, third, fourth };
     _currentSettings.NumberOfLevel = 10;
     _currentSettings.ListOfRows = listOfRows;
     _currentSettings.addToCollection();
 }
Beispiel #2
0
 private Row getRow(string numberOfRow)
 {
     Row parseRow = null;
     switch (numberOfRow)
     {
         case row1: parseRow = new Row(1); break;
         case row2: parseRow = new Row(2); break;
         case row3: parseRow = new Row(3); break;
         case row4: parseRow = new Row(4); break;
     }
     return parseRow;
 }