Hello;
i was trying to enable GrayScale and Negative Modes with a RadioButton, so that in each CheckedChanged Event i can switch between these modes, the issue is that, if we make calls like :
```
Private Sub KRB_EffectGrayScale_CheckedChanged(sender As Object, e As EventArgs) Handles KRB_EffectGrayScale.CheckedChanged
mapControl.GrayScaleMode = True
mapControl.NegativeMode = False
End Sub
```
the GrayScaleMode is some kind of ovverided in the second call to NegativeMode even if set to False, i guess this come from the code that implements these capabilities.
The Solution was to first Disable second mode and then Enable the wanted one like this :
```
mapControl.NegativeMode = False
mapControl.GrayScaleMode = True
```
i was trying to enable GrayScale and Negative Modes with a RadioButton, so that in each CheckedChanged Event i can switch between these modes, the issue is that, if we make calls like :
```
Private Sub KRB_EffectGrayScale_CheckedChanged(sender As Object, e As EventArgs) Handles KRB_EffectGrayScale.CheckedChanged
mapControl.GrayScaleMode = True
mapControl.NegativeMode = False
End Sub
```
the GrayScaleMode is some kind of ovverided in the second call to NegativeMode even if set to False, i guess this come from the code that implements these capabilities.
The Solution was to first Disable second mode and then Enable the wanted one like this :
```
mapControl.NegativeMode = False
mapControl.GrayScaleMode = True
```