Exemplo n.º 1
0
 public void FillGrid()
 {
     dataGridBusiness.DataSource = employments.FillGrid(ref varCells).DataSource;
     if (dataGridBusiness[0, 0].Value.ToString() != Texts.emptyEmpFile)
     {
         dataGridBusiness.ReadOnly    = false;
         dataGridBusiness.CurrentCell = dataGridBusiness[0, 0];
         dataGridBusiness.Focus();
     }
     else
     {
         dataGridBusiness.ReadOnly = true;
     }
 }
Exemplo n.º 2
0
 public void FillGrid()
 {
     dataGridBusiness.DataSource = employments.FillGrid(ref varCells, true).DataSource;
     dataGridBusiness.Focus();
 }