Wpf 简明教程
WPF - Environment Setup
Microsoft 提供了两个用于 WPF 应用程序开发的重要工具。
Microsoft provides two important tools for WPF application development.
-
Visual Studio
-
Expression Blend
这两个工具都可以创建 WPF 项目,但实际上开发人员更多地使用 Visual Studio,而设计人员更多地使用 Blend。对于本教程,我们将主要使用 Visual Studio。
Both the tools can create WPF projects, but the fact is that Visual Studio is used more by developers, while Blend is used more often by designers. For this tutorial, we will mostly be using Visual Studio.
Installation
Microsoft 提供了 Visual Studio 的免费版本,可以从 VisualStudio 下载。
Microsoft provides a free version of Visual Studio which can be downloaded from VisualStudio.
下载文件并按照以下步骤操作,在系统上设置 WPF 应用程序开发环境。
Download the files and follow the steps given below to set up WPF application development environment on your system.
-
After the download is complete, run the installer. The following dialog will be displayed.
-
Click the Install button and it will start the installation process.
-
Once the installation process is completed successfully, you will get to see the following dialog box.
-
Close this dialog box and restart your computer if required.
-
Now open Visual Studio from the Start Menu which will open the following dialog box.
-
Once all is done, you will see the main window of Visual Studio.
您现在可以构建第一个 WPF 应用程序了。
You are now ready to build your first WPF application.