WIP
DirectOutput framework for virtual pinball cabinets WIP
Go to:
Overview 
TableElementValueChangedEventArgs.cs
Go to the documentation of this file.
1 using System;
2 
3 namespace DirectOutput.Table
4 {
8  public class TableElementValueChangedEventArgs : EventArgs
9  {
16  public TableElement TableElement { get; set; }
23  public int Number { get { return TableElement.Number; } }
30  public int Value { get { return TableElement.Value; } }
37  public string Name { get { return TableElement.Name; } }
38 
44  {
45  this.TableElement = TableElement;
46  }
47 
52  }
53 }
int Number
Number of the TableElement.
Definition: TableElement.cs:43
TableElementValueChangedEventArgs()
Initializes a new instance of the TableElementValueChangedEventArgs class.
EventArgs object for TableElementValueChanged events.
string Name
Name of the TableElement. Triggers NameChanged if value is changed.
Definition: TableElement.cs:65
TableElementValueChangedEventArgs(TableElement TableElement)
Initializes a new instance of the TableElementValueChangedEventArgs class.
Represents a element (e.g. Switch, Solenoid) of a pinball table
Definition: TableElement.cs:12
int Value
Value of the TableElement. Triggers ValueChanged if the value is changed.
Definition: TableElement.cs:94