摘要: 基于Google伟大的Chromium以及开源项目Cefsharp(https://cefsharp.github.io/); 支持音频、视频、Flash等,支持XP及以上操作系统,在XP及Server 2003等低版本操作系统上的体验与Windows 10基本一致; 风格极简,持续改进(希望有这个 阅读全文
posted @ 2018-10-15 01:00 Bady 阅读(230) 评论(1) 推荐(0)
摘要: 服务端,接收数据,在每次接收到的数据末尾添上一个‘尾’字using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.Net.Sockets;using System.Net;using System.Threading;namespace ListenerDemo{ publ... 阅读全文
posted @ 2012-10-16 15:29 Bady 阅读(718) 评论(0) 推荐(0)
摘要: 委托(Delegate)就是把方法(方法名)作为方法的参数,例如:using System;using System.Collections.Generic;using System.Text;namespace TestDemo{ public delegate void Delegate(int arg); class Program { private static void FunctionX2(int x) { Console.WriteLine(x*x); } private stati... 阅读全文
posted @ 2012-09-27 21:39 Bady 阅读(333) 评论(0) 推荐(0)