Esempio n. 1
0
        public static void AddEventHandler(this object @obj, string tohadle, string handler)
        {
            Delegate dlg = Events.EventDelegate.create(@obj, handler);

            net.Airtower @o = net.Airtower.getCurrentAirtower();
            @o.addEventListener(tohadle, dlg, null);
        }
Esempio n. 2
0
        public static void AddXTHandler(this object @obj, string handle, string handle1, string @handler)
        {
            Delegate dlg = Events.EventDelegate.create(@obj, @handler);

            net.Airtower @o = net.Airtower.getCurrentAirtower();
            @o.addEventListener(String.Format("#xt{0}-{1}/", handle, handle1), dlg, null);
        }