コード例 #1
0
ファイル: VisitsScreen.cs プロジェクト: agb91/DicomApp
 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();
     }
 }
コード例 #2
0
        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++;
            }
        }