Hey,I've implemented BaseCommand as such (this is just an example class, I'm excluding decorated class attributes)public class TogglingCommand : BaseCommand
{
public TogglingCommand()
{
m_bitmap = Resources.GenerateCalloutsTrue;
}
private bool IsEnabled { get; set; }
public override void OnClick()
{
IsEnabled = !IsEnabled;
UpdateBitmap( IsEnabled ? Resources.GenerateCalloutsTrue : Resources.GenerateCalloutsFalse );
base.OnClick();
}
public override void OnCreate( object hook )
{
}
}
Whenever a click happens then the button's bitmap is supposed to swap to a new bitmap. However, the bitmap no longer changes. This functionality worked prior to ArcGis 10.I re-implemented BaseCommand making my own base class that implements ICommand and I handled updating the bitmap which still did not correct this problem.Does anyone have any feedback on this issue or has anyone found a work around for it?