示例#1
0
        private void SetearFila(DataGridViewRow r, Punto punto)
        {
            r.Cells[colX.Index].Value         = punto.CoordenadaX;
            r.Cells[colY.Index].Value         = punto.CoordenadaY;
            r.Cells[colCuadrante.Index].Value = punto.GetCuadrante();
            r.Cells[colDistancia.Index].Value = punto.GetDistanciaAlOrigen().ToString("N2");

            r.Tag = punto;
        }