Наследование: IApplicationEvent
Пример #1
0
        private void HelloWorldButton_Click(object sender, EventArgs e)
        {
            HelloWorldShouted @event = new HelloWorldShouted();

            ApplicationEventDispatcher.Dispatch(@event);
        }
 private void HandleHelloWorld(HelloWorldShouted @event)
 {
     MessageBox.Show(@event.Message);
 }