Explorar o código

mxg:处理重新下载模型后,其它窗体打不开问题

mengxiangge %!s(int64=6) %!d(string=hai) anos
pai
achega
969a17542f

+ 0 - 5
MBI/SAGA.MBI/Model/MFloor.cs

@@ -511,11 +511,6 @@ namespace SAGA.MBI.Model
             WinCommonTip winEndTip = new WinCommonTip();
             winEndTip.Show(tip0, tip1, buttonStyle: MessageBoxButton.OK);
 
-            //刷新解锁按钮
-            FloorLock = FloorLock;
-            //刷新树的显示
-            var tv = DalModeFileManange.GetFloorTreeById(this.Id);
-            tv.Item.TvItemName = tv.Item.TvItemName;
             #endregion
         }
         public bool CanReDownLoad(object param)

+ 4 - 3
MBI/SAGA.MBI/WinView/Login/WinOpenFile.xaml

@@ -1,11 +1,12 @@
-<Window x:Class="SAGA.MBI.WinView.Login.WinOpenFile"
+<windows:WinBase x:Class="SAGA.MBI.WinView.Login.WinOpenFile"
              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
              xmlns:local="clr-namespace:SAGA.MBI.WinView.Login"
             xmlns:converter="clr-namespace:SAGA.DotNetUtils.WPF.Converter;assembly=SAGA.DotNetUtils"
-        WindowStartupLocation="CenterScreen"
+            xmlns:windows="clr-namespace:SAGA.RevitUtils.Windows;assembly=SAGA.RevitUtils"
+            WindowStartupLocation="CenterScreen"
              mc:Ignorable="d" 
              Height="400" Width="600">
     <Window.Resources>
@@ -49,4 +50,4 @@
                     Content="从云端重新获取模型文件到本地"></CheckBox>
         </Canvas>
     </Grid>
-</Window>
+</windows:WinBase>