Exemple #1
0
 private void OnSpaceSelectionButtonPressed(object caller, ParameterSelectionButtonPressedArgs e)
 {
     HideAllWarnings();
     UpdateStateAndPressedParametersFromParameters(e.isOn, e.parameter);
     this.spaceType = GetSpaceTypeFromState();
     IfSpaceTypeChangedAndHandledChangeSpaceTypeOfCube();
     ForceDropdownState();
 }
Exemple #2
0
    private void DispatchParameterSelectionButtonPressedEvent(SpaceParameter parameter, bool isOn)
    {
        ParameterSelectionButtonPressedArgs e = new ParameterSelectionButtonPressedArgs(isOn, parameter);

        App.parameterSelectionButtonPressed.DispatchEvent(View, e);
    }