private void btnGO_Click(object sender, EventArgs e) { int w, h, i, p, s; Int32.TryParse(nudAncho.Value.ToString(), out w); Int32.TryParse(nudAlto.Value.ToString(), out h); Int32.TryParse(nudAgua.Value.ToString(), out p); Int32.TryParse(nudIteraciones.Value.ToString(), out i); Int32.TryParse(tbSemilla.Text, out s); map = new MapGC(w, h, i, s, p); map.Hacermapa(); pbMapa.Image = map.printBMP(); }
public MapGCTimedEvent(string id, MapGC mapGC) { this.id = id; this.mapGC = mapGC; }