Inheritance: System.EventArgs
コード例 #1
0
        private void nodeService_GetContainerMapNodeIdCompleted(object sender, ReturnedNodeIdEventArgs e)
        {
            ThemeManager themeManagementObject = IoC.IoCContainer.GetInjectionInstance().GetInstance<ThemeManager>();
            _navigator.SetCurrentNode(e.NodeId);

            ViewManager = new MapDepthViewManager(_navigator, themeManagementObject);
            ViewManager.NodesUpdated += new EventHandler(ViewManager_NodesUpdated);

            IoC.IoCContainer.GetInjectionInstance().RegisterComponent<MapDepthNavigator>(_navigator);
            if (NavigatorInitialised != null)
            {
                NavigatorInitialised.Invoke(this, new EventArgs());
            }

            themeManagementObject.LoadTheme(ThemeSvcUrl, "Generic");
        }
コード例 #2
0
 private void OnGetDomainNodeIdCompleted(object sender, ReturnedNodeIdEventArgs e)
 {
     if (!string.IsNullOrEmpty(DomainUid) && e.NodeId != null)
     {
         Guid domainId = Guid.Empty;
         if (Guid.TryParse(DomainUid, out domainId))
         {
             InitializeNavigator(domainId, e.NodeId);
         }
     }
 }