Hi
I'm trying the following code:
public class ExposingWarrior{
private readonly int _id;
public event EventHandlerEventArgs OnIsExposedChanged;
public bool IsExposed {get; set; }
public void Explode(){
IsExposed = !IsExposed;
var handler =
:
[EMAIL PROTECTED] *On Behalf Of *Sean Clark Hess
*Sent:* Thursday, August 14, 2008 1:29 PM
*To:* ironruby-core@rubyforge.org
*Subject:* Re: [Ironruby-core] Events?
Let's say I create a class called MovieControls, that wraps some existing
xaml. The xaml has several buttons, including
PROTECTED] *On Behalf Of *Sean Clark Hess
*Sent:* Thursday, August 14, 2008 1:29 PM
*To:* ironruby-core@rubyforge.org
*Subject:* Re: [Ironruby-core] Events?
Let's say I create a class called MovieControls, that wraps some
existing xaml. The xaml has several buttons, including a toggle play/pause
Hi all,
Is there a built-in event system for IronRuby? I know I can handle events
with button.click { }, but what if I want to dispatch my own, custom events
(from a class I created myself?).
I wrote my own event system, but I would prefer to use a built-in dispatch
method if it exists.
Thanks!
: Thursday, August 14, 2008 12:04 PM
To: ironruby-core@rubyforge.org
Subject: [Ironruby-core] Events?
Hi all,
Is there a built-in event system for IronRuby? I know I can handle events with
button.click { }, but what if I want to dispatch my own, custom events (from a
class I created myself?).
I wrote
Hess
*Sent:* Thursday, August 14, 2008 12:04 PM
*To:* ironruby-core@rubyforge.org
*Subject:* [Ironruby-core] Events?
Hi all,
Is there a built-in event system for IronRuby? I know I can handle events
with button.click { }, but what if I want to dispatch my own, custom events
(from
{ |handler| handler[args] }
Tomas
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sean Clark Hess
Sent: Thursday, August 14, 2008 1:29 PM
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core] Events?
Let's say I create a class called MovieControls, that wraps some existing xaml
1:29 PM
*To:* ironruby-core@rubyforge.org
*Subject:* Re: [Ironruby-core] Events?
Let's say I create a class called MovieControls, that wraps some existing
xaml. The xaml has several buttons, including a toggle play/pause button,
and a previous and next button.
MovieControls would