Beispiel #1
0
        private void OnRefreshTopology()
        {
            try
            {
                m_baseNode   = m_busMgr.GetTopology();
                m_redrawTree = true;
            }
            catch (FC2Exception ex)
            {
                // Error
                Debug.WriteLine("Error getting topology." + ex.Message);
            }

            m_drawingArea.Refresh();

            if (m_selectedGuid.Equals(new ManagedPGRGuid()) == false)
            {
                // If current selected node is not a null node,
                // We need to update node information as well
                UpdateNodeInformation(m_selectedGuid);
            }
        }