Commit 285df8e3 by wangonghui
parents ddb514c8 47889879
......@@ -74,7 +74,7 @@ namespace VIZ.Package.Module
#region IShowMedia ---是否显示媒体资源库页签
private Visibility iShowMedia=Visibility.Visible;
private Visibility iShowMedia = Visibility.Visible;
/// <summary>
/// 是否隐藏媒体资源库页签
......@@ -91,9 +91,9 @@ namespace VIZ.Package.Module
private void IsHideMedieTab()
{
bool flag= ApplicationDomainEx.IniStorage.GetValue<LogConfig, bool>(p => p.ISSHOWMEDIATAB);
bool flag = ApplicationDomainEx.IniStorage.GetValue<LogConfig, bool>(p => p.ISSHOWMEDIATAB);
if(flag)
if (flag)
{
IShowMedia = Visibility.Visible;
}
......@@ -131,7 +131,7 @@ namespace VIZ.Package.Module
this.IsSendToPreview = false;
this.GHResourceEditPartModel.SelectedFileModel = null;
this.IsSendToPreview = true;
this.Path = ofd.FileName;
this.Path = ofd.FileName.Replace(@"\", @"\\");
}
#endregion
......
......@@ -285,9 +285,9 @@ namespace VIZ.Package.Module
//调用关闭消息
ProjectCloseMessage closemsg = new ProjectCloseMessage();
ApplicationDomainEx.MessageManager.Send(closemsg);
this.UpdateCommandStatus();
ApplicationDomainEx.ProjectDbContext?.Dispose();
SaveProjectWindowModel vm = window.DataContext as SaveProjectWindowModel;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment