wpf foundation series MVVM framework of a new wpf_MVVM_001

With vs2017 as an example,
"file" - "New" - "Project" - "Visual C #" - "Window" - "WPF Application" - (optional) to change the name, change position
- Click OK
wpf file: App. config: built-in configuration file.
Profile: built-in configuration files, custom configuration file.
.app.config node configuration file: connectionString, appSettings, configSections and other
.exe.config profiles: project actual use, save the changes running.
.vshost.exe.config configuration file: "app.config" synchronize files. The program is running is not changed.
connectionStrings configuration node: set database connection string. </ ConnectionStrings> appSettings node configuration: the current configuration program, in the form of pairs.
userSettings node configuration: the current user configuration.
configSections custom configuration node: custom node element.

App.xaml: 程序入口文件。
	Application中的StartupUri:设置程序首次启动窗口。
	Application.Resources: 常用于设置全局资源。
	App.xaml.cs : 通过构造函数初始化程序。

MainWindow.xaml: 程序默认的一个窗口。

Manually add folders:
Model folder: store the database entity classes (Entity). For mapping database.
View Folder: Store presented to the user interface. For displaying data and receiving user input.
Resources folder: background custom stored procedures of public resources.

Published 130 original articles · won praise 36 · views 10000 +

Guess you like

Origin blog.csdn.net/weixin_44548307/article/details/104755885