[MonoDevelop] Running Mono with Glade ..... ERROR

Laurent Guisset lguisset@planetinternet.be
Wed, 14 Apr 2004 18:47:41 +0200


I think that the name of the method in the .cs file and the
name of the handler in the .glade file must be the same, this is
required by the Autoconnect method.

Example :
*********


.glade file
*************

...
<signal name="clicked" handler="*OnButtonClicked*" 
last_modification_time="Wed, 14 Apr 2004 09:11:35 GMT"/>
...



.cs file
********

public void *OnButtonClicked* (System.Object obj, EventArgs e)
{
    Console.WriteLine ("Button 1 clicked");
}