DirectOuput Framework R2
DirectOutput framework R2 for virtual pinball cabinets
Go to:
Overview 
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros Pages
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 }