private void processAddEvent(Tile thetile) { Event e = new Event(); Form1 form = new Form1(e); form.ShowDialog(); /* String map = e.getProperty("mapfile"); String x = e.getProperty("x"); String y = e.getProperty("y"); */ if(e.getEventType() != EventType.CANCELED) thetile.addEvent(e); //Console.WriteLine("map=>" + map + "<, x=>" + x + "<, y=>" + y + "<"); }