App.xaml.cs中的代码每次都差不多,故特地将其整理出来直接复用: using System; using System.Configuration; using System.Diagnostics; using System.Globalization; using System.Net; using System.Net.Sockets; using System.Reflection; using System.Runtime.InteropServices; using Syst
原文:https://stackoverflow.com/questions/13387527/add-existing-xaml-files-to-visual-studio-2012 Right-click the project and select "Unload Project" Right-click the project node again and select "Edit [projectname].csproj" Edit the XML, t