private void button2_Click(object sender, EventArgs e) { //agregar Gestion.gEstacion gEstacion = new Gestion.gEstacion(); gEstacion.ShowDialog(); refrescar(); }
private void button3_Click(object sender, EventArgs e) { //editar int?id = getid(); if (id != null) { Gestion.gEstacion gEstacion = new Gestion.gEstacion(id); gEstacion.ShowDialog(); refrescar(); } }