예제 #1
0
 protected override void OnUnloaded()
 {
     base.OnUnloaded();
     DataContext = null;
     viewModel.Dispose();
     viewModel = null;
     if (Instance == this)
     {
         Instance = null;
     }
 }
예제 #2
0
        public static void Open()
        {
            EntityViewModelsManager.EntityTypeHierarchy.ResetState();

            if (Instance != null)
            {
                return;
            }

            var instance = new TypeHierarchySelectView();

            Instance = instance;
            Api.Client.UI.LayoutRootChildren.Add(instance);
        }
예제 #3
0
 protected override void WindowClosing()
 {
     base.WindowClosing();
     TypeHierarchySelectView.Close();
     WindowCNEIHelp.Close();
 }