修改引导事件
This commit is contained in:
commit
4ba15a8e69
3 files changed
+13
-2
No files matched your search
@@ -1,8 +1,8 @@
|
||||
<Application x:Class="formula_manage.App"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:local="clr-namespace:formula_manage"
|
||||
StartupUri="Login.xaml"
|
||||
xmlns:local="clr-namespace:formula_manage"
|
||||
Startup="Application_Startup"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
d1p1:Ignorable="d" xmlns:d1p1="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
>
|
||||
|
||||
+10
@@ -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);//在目录下
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -236,6 +236,7 @@ namespace formula_manage.ViewModel
|
||||
}
|
||||
return lst;
|
||||
} //DataTable FOR ObservableCollection转换器
|
||||
|
||||
/// <summary>
|
||||
/// 循环事件设定
|
||||
/// </summary>
|
||||
|
||||
Reference in new issue
Block a user