Re: Cannot implicitly convert derived type

2014-02-22 Thread Eric Suen
4 at 05:20:25 UTC, Eric Suen wrote: >> Generic? >> > > I don't see how this would help. I'd have to specify every > concrete type in the creation of the object which might be > significant. I can't use a generic virtual method so that doesn't > help eit

Re: Cannot implicitly convert derived type

2014-02-21 Thread Eric Suen
Generic? "Frustrated" ... > interface iGui > { > @property iButton button(ref iButton button); > } > > class WindowsGui : iGui > { > WindowsButton _button; > > @property WindowsButton button(ref WindowsButton button) > //@property iButton button(ref iButton button) > { > _button = button; > retur