05 2021 档案
c#下载蓝奏云链接文件
摘要:控制台版本,winform更简单 static string desktopPath = Environment.GetFolderPath(Environment.SpecialFolder.Desktop)+"/";[STAThread]static void Main( string[ ] a 阅读全文
posted @ 2021-05-11 18:04 mybkync 阅读(838) 评论(0) 推荐(0)
c#控制台使用WebBrowser获取html问题
摘要:在主线程上打上 [STAThread]标记就行 在main()最后一句 添加Application.Run(); 就能使控制台像窗体一样持久运行而不是阻塞啥也不干 [STAThread]static void Main( string[ ] args ){ WebBrowser webBrowser 阅读全文
posted @ 2021-05-11 01:35 mybkync 阅读(326) 评论(0) 推荐(0)