07 2020 档案
摘要:XAML: <Window x:Class="WpfApplication1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft
阅读全文
摘要:While when DataGridComboBoxColumn binding to a class collection,for example it will bind to class country which has CountryName and CountryCode proper
阅读全文
摘要:<Button Name="button" Content="Hello" Height="100" Width="200" Click="button_Click_2"> <Button.ContentTemplate> <DataTemplate> <Viewbox> <TextBlock>My
阅读全文
摘要:using System.Configuration; static void Main(string[] args) { UpdateConfigAppSettings(); ReadConfig(); Console.ReadLine(); } static void UpdateConfigA
阅读全文
摘要:static void Main(string[] args) { WebClientDownloadProgressChanged(); Console.ReadLine(); } static void WebClientDownloadProgressChanged() { string ur
阅读全文
摘要:public class NewWebClient:WebClient { protected override WebRequest GetWebRequest(Uri address) { WebRequest webRequest = base.GetWebRequest(address);
阅读全文
摘要:static void AnonymousSerializeDemo() { var data = new { firstPart = new { item1 = "item1", item2 = "item2", item3 = 10 }, secondPart = new { pp1 = new
阅读全文