Compare commits

..
2 Commits
Author SHA1 Message Date
sc 6903e2264c Merge branch 'master' of http://www.scserverddns.top:13000/sc/formula_manage 2024-04-03 21:02:32 +08:00
sc 4ba15a8e69 修改引导事件 2024-04-03 21:02:30 +08:00
3 changed files with 13 additions and 2 deletions

No files matched your search

+2 -2
View File
@@ -1,8 +1,8 @@
<Application x:Class="formula_manage.App" <Application x:Class="formula_manage.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:formula_manage" xmlns:local="clr-namespace:formula_manage"
StartupUri="Login.xaml" Startup="Application_Startup"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
d1p1:Ignorable="d" xmlns:d1p1="http://schemas.openxmlformats.org/markup-compatibility/2006" d1p1:Ignorable="d" xmlns:d1p1="http://schemas.openxmlformats.org/markup-compatibility/2006"
> >
+10
View File
@@ -64,5 +64,15 @@ namespace formula_manage
); );
} }
} }
/// <summary>
/// 启动初始页面
/// </summary>
private void Application_Startup(object sender, StartupEventArgs e)
{
Application.Current.StartupUri = new Uri("Login.xaml", UriKind.Relative);//和MainWindwo同一目录
//Application.Current.StartupUri = new Uri("", UriKind.Relative);//在目录下
}
} }
} }
+1
View File
@@ -236,6 +236,7 @@ namespace formula_manage.ViewModel
} }
return lst; return lst;
} //DataTable FOR ObservableCollection转换器 } //DataTable FOR ObservableCollection转换器
/// <summary> /// <summary>
/// 循环事件设定 /// 循环事件设定
/// </summary> /// </summary>