I am writing an ArcMap 10 Add-in using C#. I create ArcMap Add-in by wizard and create button class (Inherits ESRI.ArcGIS.Desktop.AddIns.Button). In this class i define OnUpdate() method, but this method is called only after button pressed. I want to disable button in some cases, before user press it, how I can manage OnUpdate() call ?