public TurnButtonOnCommand(IOnOffButton button)
 {
     this.button = button;
 }
Пример #2
0
 private void AddToDictionaryAndList(IOnOffButton button)
 {
     buttonsDictionary.Add(button.GetType(), button);
     Buttons.Add(button);
 }