07 2020 档案

摘要:XAML: <Window x:Class="WpfApplication1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft 阅读全文
posted @ 2020-07-24 23:30 FredGrit 阅读(570) 评论(0) 推荐(0) 编辑
摘要:While when DataGridComboBoxColumn binding to a class collection,for example it will bind to class country which has CountryName and CountryCode proper 阅读全文
posted @ 2020-07-23 21:36 FredGrit 阅读(296) 评论(0) 推荐(0) 编辑
摘要:<Button Name="button" Content="Hello" Height="100" Width="200" Click="button_Click_2"> <Button.ContentTemplate> <DataTemplate> <Viewbox> <TextBlock>My 阅读全文
posted @ 2020-07-21 11:50 FredGrit 阅读(301) 评论(0) 推荐(0) 编辑
摘要:using System.Configuration; static void Main(string[] args) { UpdateConfigAppSettings(); ReadConfig(); Console.ReadLine(); } static void UpdateConfigA 阅读全文
posted @ 2020-07-20 19:09 FredGrit 阅读(168) 评论(0) 推荐(0) 编辑
摘要:static void Main(string[] args) { WebClientDownloadProgressChanged(); Console.ReadLine(); } static void WebClientDownloadProgressChanged() { string ur 阅读全文
posted @ 2020-07-20 11:01 FredGrit 阅读(405) 评论(0) 推荐(0) 编辑
摘要:public class NewWebClient:WebClient { protected override WebRequest GetWebRequest(Uri address) { WebRequest webRequest = base.GetWebRequest(address); 阅读全文
posted @ 2020-07-15 19:20 FredGrit 阅读(154) 评论(0) 推荐(0) 编辑
摘要:static void AnonymousSerializeDemo() { var data = new { firstPart = new { item1 = "item1", item2 = "item2", item3 = 10 }, secondPart = new { pp1 = new 阅读全文
posted @ 2020-07-09 19:54 FredGrit 阅读(134) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示