修改引导事件
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"
|
<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
@@ -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;
|
return lst;
|
||||||
} //DataTable FOR ObservableCollection转换器
|
} //DataTable FOR ObservableCollection转换器
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 循环事件设定
|
/// 循环事件设定
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
Reference in new issue
Block a user