Re: clojure-clr how to wire up a delegate

2010-02-24 Thread adam11235
(.set_Text "Clicky") >       (.add_Click (gen-delegate EventHandler [sender args] (MessageBox/ > Show "I got clicked" >     (doto win >       (.set_Text "hello") >       (.ShowDialog > > (windowsPlay) > > Regards, > > Iwan > > On Feb

clojure-clr how to wire up a delegate

2010-02-24 Thread adam11235
Hi, I've made progress in creating a simple app to show a windows form, however I am having trouble wiring up a delegate (to handle button clicks). The Java version uses Proxy to implement ActionListener, instead I am just trying to create an EventHandler passing as the 2nd constructor argument t

clojure-clr how to reference assemblies?

2010-02-23 Thread adam11235
Hi, I'm unsure of how to get clojure-clr to reference assemblies that a program needs. I can successfully get this to show a message box via the REPL: (System.Windows.Forms.MessageBox/Show "hello world") I can successfully save this to a file, add the file as a command-line arg inside VisualSt

clojure-clr questions

2010-02-23 Thread adam11235
Hi, Is this group an appropriate place to post clojure-clr questions? Is there a more relevant place to ask clojure-clr questions? Thanks, Adam -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroup