[Gtk-sharp-list] how to block a signal
   
    Томислав Марковски
     
    tome@users.ossm.org.mk
       
    Thu, 10 Feb 2005 08:33:14 +0100
    
    
  
Fabian Sturm напиша:
>  So I guess the sequence should be something like
>
>  verify data if wrong block signals update Text unblock signals
>
>  How would I do this in c#?
To register an event you use:
eventenddate_entry.Changed += new ChangedEventHandler(my_func);
To unregister (or as you reffer to it - "block") the event, you use:
eventenddate_entry.Changed -= new ChangedEventHandler(my_func);
Hope this helps.