private void SetButtonEvent(FlatButton button) { button.Click += (s, e) => { _selectedModule.Instance = button.GetModule(); _selectedModule.Title = button.Text; SetSelectedButtonProperties(button); DeselectButton(button); }; }
private void SetButtonEvent(FlatButton button) { button.Click += (s, e) => { _selectedModule.Instance = button.GetModule(); _selectedModule.Title = button.Text; SetSelectedButtonProperties(button); DeselectButton(button); }; }