On 23.04.2010 16:56, Stephen Liu wrote: > Hi Alexander, > > The problem is on line 27,30); > > widget.ButtonPressEvent += new ButtonPressEventHandler(ButtonPressHandler);
Yeah, the line itself is OK, but notice extra closing braces before it--here's your problem: > Application.Run(); > } > } > widget.ButtonPressEvent += new ButtonPressEventHandler(ButtonPressHandler); You doing this outside of your class methods (and the class itself). -- Alex _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
