private void buildOptionalNormal(String[] bricks) { for (int i = 2; i < bricks.Length; i++) { OptionalInfo newOI = new OptionalInfo(leftEqual(bricks[i]), rightEqual(bricks[i])); listOfOptionalInfo.Add(newOI); } }
private void addOptionalStandard() { allOptionals = thisV.getOptionals(); for (int i = 0; i < allOptionals.Count; i++) { OptionalInfo thisOption = allOptionals[i]; this.Visits.Rows.Add(); this.Visits.Rows[i + 2].Cells[0].Value = thisOption.getTag(); this.Visits.Rows[i + 2].Cells[1].Value = thisOption.getValue(); } }
private void buildOptionalFirst() { baseTags = new textParser("visitTemplate.txt", ""); String readText = baseTags.Read(); String[] bricks = splitter(readText, ';'); for (int i = 0; i < bricks.Length; i++) { OptionalInfo newOI = new OptionalInfo(leftEqual(bricks[i]), rightEqual(bricks[i])); listOfOptionalInfo.Add(newOI); } }
private void buildOptionalFirst() { Char delimiterEqual = '='; baseTags = new textParser("patientTemplate.txt", ""); String readText = baseTags.Read(); Char delimiterSemicolon = ';'; String [] bricks = readText.Split(delimiterSemicolon); for (int i = 0; i < bricks.Length; i++) { OptionalInfo newOI = new OptionalInfo(leftEqual(bricks[i]), rightEqual(bricks[i])); listOfOptionalInfo.Add(newOI); } }
private void addOptionalStandard() { int indexRow = 0; this.optionalsGrid.Rows.Clear(); List <OptionalInfo> optionalInfo = thisP.getOptionals(); for (int i = 0; i < optionalInfo.Count; i++) { OptionalInfo thisOp = optionalInfo[i]; this.optionalsGrid.Rows.Add(); this.optionalsGrid.Rows[indexRow].Cells[0].Value = thisOp.getTag(); this.optionalsGrid.Rows[indexRow].Cells[1].Value = thisOp.getValue(); indexRow++; } }