In the emphasis on personalized today, everything requires personalization, customization, all emphasize a big I. So that's the custom page for igoogle, the Custom personality homepage for Windows Live. Visual Studio, a developer tool that programmers use every day, introduces the ability to customize the start page in order to conform to this custom, personalized trend.
The start page of Visual Studio 2010 is controlled by a Startpage.xaml file, and by editing this file, we can cultivate it on our "three-acre-land", we can add content, add buttons to perform certain functions, You can even add some custom controls to accomplish some special tasks, and so on. In short, the custom Start page is very powerful, so you can say that the custom Start page is a gift from the programmers in Visual Studio 2010. The following is the default start page for Visual Studio 2010, where we can view the news, open project documents, feedback questions, open projects, and so on.
Figure 1,visual Studio 2010 's default start Page
As the saying goes, a good start is half the success. The custom Start page is so powerful that it can help us accomplish a lot of common tasks and bring great convenience to our development work. Let's make some customizations to the start page and do some special functions.
1. Create a Start Page file Startpage.xaml
We can create a start page file Startpage.xaml from scratch, but the more labor-saving approach is to use the Start page template that Visual Studio 2010 gives us, directly modifying it to form our own custom Start page.
\common7\ide\startpages\en\ from the installation directory of Visual Studio 2010, copy Startpage.xaml and startpage.csproj to the user directory. \\Visual Studio 10\startpages\. If you do not have this folder in your user directory, you will need to create it yourself.
When Visual Studio 2010 is started, the Startpage.xaml files in the user directory are looked up. If the file exists, the user-defined Start page is loaded, and the system default start page is used if the file does not exist.