diff --git a/App.xaml b/App.xaml index 9d60610..3fae9d0 100644 --- a/App.xaml +++ b/App.xaml @@ -1,8 +1,8 @@  diff --git a/App.xaml.cs b/App.xaml.cs index 2dfc661..025a305 100644 --- a/App.xaml.cs +++ b/App.xaml.cs @@ -64,5 +64,15 @@ namespace formula_manage ); } } + + /// + /// 启动初始页面 + /// + 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);//在目录下 + } + } } diff --git a/ViewModel/MainWindowViewModel.cs b/ViewModel/MainWindowViewModel.cs index 1ba43cd..e2d0955 100644 --- a/ViewModel/MainWindowViewModel.cs +++ b/ViewModel/MainWindowViewModel.cs @@ -236,6 +236,7 @@ namespace formula_manage.ViewModel } return lst; } //DataTable FOR ObservableCollection转换器 + /// /// 循环事件设定 ///