예제 #1
0
 private void GridInstituicoesValidadoras_UserAddedRow(object sender, DataGridViewRowEventArgs e)
 {
     gridInstituicoesValidadoras.Rows[e.Row.Index - 1].Cells[0].Value = InstituicaoDAO.GeraId() + addedrows;
     gridInstituicoesValidadoras.Rows[e.Row.Index - 1].Cells[7].Value = true;
     gridInstituicoesValidadoras.Rows[e.Row.Index - 1].Cells[8].Value = true;
     addedrows++;
 }
예제 #2
0
 private void GridInstituicoesParceiras_UserAddedRow(object sender, DataGridViewRowEventArgs e)
 {
     gridInstituicoesParceiras.Rows[e.Row.Index - 1].Cells[0].Value = InstituicaoDAO.GeraId() + addedrows;
     gridInstituicoesParceiras.Rows[e.Row.Index - 1].Cells[7].Value = false;
     if (funcao == FaculdadeUtils.Funcao.Dirigente)
     {
         gridInstituicoesParceiras.Rows[e.Row.Index - 1].Cells[8].Value = false;
     }
     addedrows++;
 }
예제 #3
0
 private void GridUsuarios_UserAddedRow(object sender, DataGridViewRowEventArgs e)
 {
     addedrows++;
     gridUsuarios.Rows[e.Row.Index - 1].Cells[0].Value = InstituicaoDAO.GeraId() + addedrows;
 }