自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(58)
  • 资源 (4)
  • 收藏
  • 关注

原创 delegate委托

public void showDelegate(){}if (textBox1.InvokeRequired){textBox1.Invoke(new showDelegate(delegate (){//你的代码});}base.Invoke(new Action(delegate() {//你的代码}));WPF ObservableCollection 线程报错委托解决...

2020-03-28 15:02:56 318

原创 jToken与JArray简单笔记

jToken与JArray简单笔记 //============= string outhtml = string.Empty; int error = HttpWebHelp.HttpHelp("http://s.music.163.com/search/get/?src=lofter&type=1&filterDj=true&am...

2019-11-04 14:02:54 5203

原创 c# 时间戳

来自大佬们的时间戳:方法一 string time = ((DateTime.Now.ToUniversalTime().Ticks - 621355968000000000) / 10000000).ToString()方法二 TimeSpan timeSpan = DateTime.UtcNow - new DateTime(1970, 1, 1, 0, 0, 0, DateT...

2019-10-30 13:08:07 1667 1

原创 腾讯云AI开放平台sign签名算法(C#版)

腾讯云AI开放平台sign签名算法,网上没找到C#版的,自己参照例子写了个,直接上代码: static void Main(string[] args) { string app_id = "10000"; string time_stamp = "1493449657"; string nonce_str = "20e3408a79...

2019-10-30 09:05:01 2744

原创 cookie字符串转为CookieCollection

string cookiestr = “uin=123456789; skey=abcabc” //参考,下例都无用 CookieCollection collection = new CookieCollection (); Regex _cookieRegex = new Regex ("(\\S*?)=(.*?)(?:;|$)", RegexOptions.Compil...

2019-10-11 15:40:44 1754

原创 miniblink C#版使用教程

miniblink C#版使用教程1、前期准备工作1.1、下载miniblink SDK(https://github.com/E024/MiniBlinkPinvoke);1.2、下载最新miniblink主dll(node.dll),可从(https://github.com/weolar/miniblink49/releases)下载并提取待用。2、解压miblink SDK 并运行...

2019-09-27 14:10:12 10305 1

原创 System.Text.Json.JsonDocument与Newtonsoft.Json.Linq.JObject 简单笔记

jsonstr格式为腾讯云文字识别返回的json格式,如:{“data”:{“items”:[{“itemstring”:“手机”,“itemcoord”:{“x”:0,“y”:100,“width”:40,“height”:20},“words”:[{“character”:“手”,“confidence”:90.9},{“character”:“机”,“confidence”......

2019-09-20 13:38:10 3095

原创 C# 数字排序

使用list.sort()、list.orderby()、string[].orderby()排序例子using System;using System.Collections.Generic;using System.Linq;using System.Text.RegularExpressions;namespace 数字排序{class Program{ stat...

2019-09-06 09:09:45 2574

原创 解决https不安全提示

//解决https不安全提示 public static bool AcceptAllCertifications(object sender, X509Certificate x509Certificate, X509Chain x509Chain, SslPolicyErrors sslPolicyErrors) { return true; ...

2019-08-05 12:43:12 1080

原创 c#毫秒计时器

c#毫秒计时器 using System; using System.Diagnostics; using System.Windows.Forms; private TimeSpan ts; private Stopwatch sw; private Timer timer; private void CreatTimer() {...

2019-08-05 11:45:12 1693

原创 Byte与Dataset相互转换

Byte与Dataset相互转换 private static DataSet ByteToDataset(byte[] bytes) { using (MemoryStream memoryStream = new MemoryStream(bytes)) { DataSet ds = new DataSet(); ...

2019-07-24 21:07:12 339

原创 c# byte与datatable相互转换

直接上代码using System;using System.Text;using System.Data;using System.Runtime.Serialization.Formatters.Binary;using System.IO;namespace byte与datatable相互转换{ class Program { static ...

2019-07-24 15:44:04 2847

原创 C# 嵌入资源释放

嵌入资源1 可参考https://blog.csdn.net/u013542549/article/details/52038274 private void sfresources() { if (!File.Exists(System.Environment.CurrentDirectory + "\\System.Data.SQLite.dll")) ...

2019-07-16 09:27:15 807 1

转载 Reflector反编译.NET文件后manager,base.AutoScaleMode修复

http://blog.sina.cn/dpool/blog/s/blog_3f58d0a60102vvrq.html?type=-1反编译后的工程文件用VS2010打开后,在打开窗体时会出现一系列错误提示:第一种情况:“设计器无法处理第 152 行的代码: base.AutoScaleMode = AutoScaleMode.Font; 方法“InitializeComponent”内的代...

2019-06-09 15:51:49 266

原创 c# webview简单使用及nuget命令控制台

1、打开nuget命令控制台2、添加Microsoft.Toolkit.Forms.UI.Controls.WebView 控件1)、参阅资料https://docs.microsoft.com/en-us/windows/communitytoolkit/controls/wpf-winforms/webviewhttps://www.nuget.org/packages/Micros...

2019-05-05 08:34:17 2040 1

原创 c# FileStream写入位置设定

private string path = System.Environment.CurrentDirectory + “\test.txt”;FileStream fs = new FileStream(path, FileMode.OpenOrCreate, FileAccess.ReadWrite);fs.Position = fs.Length;//设置写入位置为文本末 方法1fs....

2019-04-29 13:31:38 2957

原创 c# FileStream简单应用及字符转换

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.W...

2019-04-29 13:14:58 2097

原创 c#产生随机字符串的两种方法

Random random = new Random();private string chars = “ABCDEFGHIJKLMNOPQRSTUWVXYZ0123456789abcdefghijklmnopqrstuvwxyz”;private void button1_Click(object sender, EventArgs e){this.textBox1.Clear();t...

2019-04-24 13:38:20 9394

AMITool1.62

AMITool1.62 原版 汉化版 修改AMIBIOS的工具软件,包括了超静1/2/3及动态法(恢复原生SLIC),英文版使用不便,故将其汉化了,汉化不当的地方请反馈。感谢作者Andy提供的这一强大工具,感谢提供新版消息和下载的朋友!更新情况见贴尾。

2012-01-16

extjs api 文档

extjs3.1-3.3 api CHM格式文档

2011-11-23

php中文帮助文档

php中文帮助文档,是初学者不错的好帮手。

2011-11-11

myeclipse ext js spket插件

一个比较好用的MYECLIPSE的EXT js编写插件,在写代码可很好的提示,需配合EXT 中的JSB文件

2009-11-19

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除