Пример #1
0
 private void ReshDGV(DataGridView dGV)
 {
     for (int i = 0; i < sListVarName.Length; i++)
     {
         CVar nVar = frmMain.staComm.GetVarByStaNameVarName(sListStaName[0], sListVarName[i]);
         dGV.Rows[i].Cells[2].Value = nVar.GetStringValue(sListDF[i]);
         nVar = frmMain.staComm.GetVarByStaNameVarName(sListStaName[1], sListVarName[i]);
         dGV.Rows[i].Cells[3].Value = nVar.GetStringValue(sListDF[i]);
         nVar = frmMain.staComm.GetVarByStaNameVarName(sListStaName[2], sListVarName[i]);
         dGV.Rows[i].Cells[4].Value = nVar.GetStringValue(sListDF[i]);
     }
 }