[Ironruby-core] Form Designer adding delegates

John Lam (DLR) jflam at microsoft.com
Wed Oct 24 17:28:17 EDT 2007

Dermot Hogan:

> I've got most of the form designer working ok now, so I'm going to
> start
> working on the MSBuild, project & item integration. However, I've got a
> couple of problems/questions.


> 1) IronRuby doesn't like the delegate op assign so I can't click on a
> button

We only support:

self.button1.click do |sender, args|
  # code


> 2) I really need 'attr_accessor' to define a 'field' (it's commented
> out
> below and I've worked round it, but it's a pain to do). Does it exist
> yet?

We're working on this - it should be almost doable today.

> 3) the references use the full qualified reference name. I can live
> with
> this no problem, but it really should use the short form. Is this on
> the
> road map?

What I've been doing is assembling these references into a .rb file that I require - eg require 'winforms'.

Thanks & great job!

More information about the Ironruby-core mailing list