Dim uid As ESRI.ArcGIS.esriSystem.UID = New UIDClass uid.Value = "Project.Command1" Dim pCMD As ICommandItem = m_application.Document.CommandBars.Find(uid) If _current = 0 Then MyBase.m_bitmap = _statuslive _current = 1 pCMD.FaceID = ESRI.ArcGIS.ADF.COMSupport.OLE.GetIPictureDispFromBitmap(_statuslive) Else MyBase.m_bitmap = _statusproposed _current = 0 pCMD.FaceID = ESRI.ArcGIS.ADF.COMSupport.OLE.GetIPictureDispFromBitmap(_statusproposed) End If pCMD.Caption = NetworkStatus pCMD.Tooltip = NetworkStatus
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.