[Mono-list] fail to compite *.exe

Alexander Shulgin alexander.shulgin at yessoftware.com
Fri Apr 23 10:40:52 EDT 2010


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


More information about the Mono-list mailing list