WIP
DirectOutput framework for virtual pinball cabinets WIP
Go to:
Overview 
EffectEventArgs.cs
Go to the documentation of this file.
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 
6 namespace DirectOutput.FX
7 {
8 
12  public class EffectEventArgs: EventArgs
13  {
17  public IEffect Effect { get; set; }
18  public EffectEventArgs() { }
19  public EffectEventArgs(IEffect Effect)
20  {
21  this.Effect = Effect;
22  }
23  }
24 
25 
30  {
31 
35  public string NewName { get; set; }
39  public bool CancelNameChange { get; set; }
49  public BeforeEffectNameChangeAventArgs(IEffect Effect, string NewName)
50  : base(Effect)
51  {
52  this.NewName = NewName;
53  }
54 
55 
56 
57  }
58 
59 }
EventArgs for the BeforeEffectNameChanged event
The EffectEventArgs class is used for events triggered by IEffect objects
Common interface for all effects. If a new effect is implemented it is best to inherit from the abst...
Definition: IEffect.cs:13
BeforeEffectNameChangeAventArgs()
Initializes a new instance of the BeforeEffectNameChangeAventArgs class.
BeforeEffectNameChangeAventArgs(IEffect Effect, string NewName)
Initializes a new instance of the BeforeEffectNameChangeAventArgs class.