private void SetearFila(DataGridViewRow r, Cuadrilatero t) { r.Cells[cmnLado1.Index].Value = t.Lado1; r.Cells[cmnLado2.Index].Value = t.Lado2; r.Cells[cmnPerimetro.Index].Value = t.GetPerimetro(); r.Cells[cmnArea.Index].Value = t.GetArea(); r.Tag = t; }