上一页 1 ··· 48 49 50 51 52 53 54 55 56 ··· 76 下一页
摘要: 1 this.FormClosing += AFormClosing; 2 3 4 private void AFormClosing(object sender, System.Windows.Forms.FormClosingEventArgs e) 5 { 6 if (e.CloseReaso 阅读全文
posted @ 2020-10-21 15:32 FredGrit 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 1 using Newtonsoft.Json; 2 using Newtonsoft.Json.Linq; 3 4 static void Main(string[] args) 5 { 6 TestJsonValid(); 7 Console.ReadLine(); 8 } 9 10 stati 阅读全文
posted @ 2020-10-14 14:54 FredGrit 阅读(148) 评论(0) 推荐(0) 编辑
摘要: <Window x:Class="YourApplication.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/w 阅读全文
posted @ 2020-10-14 14:17 FredGrit 阅读(73) 评论(0) 推荐(0) 编辑
摘要: using System.Text.RegularExpressions; static void ExtractIpDemo() { string url = "192.125.35.48\\d\\subfolder\\bsubfolder\\cfolder\\d.txt"; string ipV 阅读全文
posted @ 2020-10-12 17:27 FredGrit 阅读(102) 评论(0) 推荐(0) 编辑
摘要: using System.Diagnostics; static void Main(string[] args) { ReportError(); ReportError(); ReportError(); ReportError(); Console.ReadLine(); } private 阅读全文
posted @ 2020-10-10 20:34 FredGrit 阅读(111) 评论(0) 推荐(0) 编辑
摘要: static void WebClientDemo() { string url = "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1601307877228&di=6a286ef6f2ca39ea06a54 阅读全文
posted @ 2020-09-28 21:03 FredGrit 阅读(91) 评论(0) 推荐(0) 编辑
摘要: static void DapperDemo() { string connString = ConfigurationManager.AppSettings.Get("SqlConnString"); using(IDbConnection conn=new SqlConnection(connS 阅读全文
posted @ 2020-09-27 16:13 FredGrit 阅读(440) 评论(0) 推荐(0) 编辑
摘要: 1.Go to https://docs.microsoft.com/en-us/visualstudio/install/create-an-offline-installation-of-visual-studio?view=vs-2019 download the installer.exe 阅读全文
posted @ 2020-09-17 23:07 FredGrit 阅读(331) 评论(0) 推荐(0) 编辑
摘要: Dynamic object provides a base class for specifying dynamic behavior at runtime. public class DynamicObjectInvoker:DynamicObject { public override boo 阅读全文
posted @ 2020-09-08 23:33 FredGrit 阅读(166) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threadin 阅读全文
posted @ 2020-08-30 14:12 FredGrit 阅读(124) 评论(0) 推荐(0) 编辑
上一页 1 ··· 48 49 50 51 52 53 54 55 56 ··· 76 下一页