上一页 1 ··· 107 108 109 110 111 112 113 114 115 ··· 120 下一页
摘要: Nuget install iText7 using iText.Kernel.Pdf; using iText.Kernel.Utils;using System;using System.Collections.Generic; namespace ConsoleApp1{ public cla 阅读全文
posted @ 2019-07-01 19:37 FredGrit 阅读(1286) 评论(0) 推荐(0)
摘要: using System.IO; using System.Drawing; using System.Drawing.Imaging; using System.Threading; using System.Windows.Forms; using System; namespace ConsoleApp1 { public class CaptureWebPage { ... 阅读全文
posted @ 2019-07-01 19:34 FredGrit 阅读(649) 评论(0) 推荐(0)
摘要: http://mtoou.info/cipanbeixiebaohu/index.html ①打开运行(快捷键Win+R)→输入regedit后回车 ②找到这个目录:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePo 阅读全文
posted @ 2019-06-21 23:57 FredGrit 阅读(360) 评论(0) 推荐(0)
摘要: public class DelCmd : ICommand { private readonly Predicate<object> _canExecute; private readonly Action<object> _execute; public event EventHandler C 阅读全文
posted @ 2019-06-10 13:28 FredGrit 阅读(306) 评论(0) 推荐(0)
摘要: System.Windows.Application is a singleton: its constructor must only be invoked once (including App.xaml de-xamlization), or exception is thrown. 阅读全文
posted @ 2019-06-08 15:24 FredGrit 阅读(564) 评论(0) 推荐(0)
摘要: 1.Install-Package NPOI -v 2.4.0 2. 3.让Excel单元格自适应单元格大小 for(int i=0;i<dt.Columns.Count;i++) { firstSheet.AutoSizeColumn(i); } 最后效果: 阅读全文
posted @ 2019-06-05 19:43 FredGrit 阅读(1430) 评论(0) 推荐(0)
摘要: <system.serviceModel> <bindings> <basicHttpBinding> <binding name="BasicHttpBinding_IGetDataTable" messageEncoding="Text" maxReceivedMessageSize="2147 阅读全文
posted @ 2019-06-04 09:47 FredGrit 阅读(290) 评论(0) 推荐(1)
摘要: 第一种1.git add --ignore-errors . 特别注意 git add --ignore-errors . errors后面有一个空格再加一个点' .' 第二种: 1.touch .gitignore; 2.添加要省略的文件 .vs/ 阅读全文
posted @ 2019-05-28 00:49 FredGrit 阅读(3674) 评论(0) 推荐(0)
摘要: static void GenerateMD5ForLargeFiles(string fileName) { StringBuilder stringBuilder = new StringBuilder(); using (Stream readStream = File.OpenRead(fi 阅读全文
posted @ 2019-05-22 00:34 FredGrit 阅读(793) 评论(0) 推荐(0)
摘要: 异步:public void SendAsync(MailMessage message, object userToken); Sends the specified e-mail message to an SMTP server for delivery. This method does n 阅读全文
posted @ 2019-05-22 00:13 FredGrit 阅读(360) 评论(0) 推荐(0)
上一页 1 ··· 107 108 109 110 111 112 113 114 115 ··· 120 下一页