摘要:
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.Threading;namespace WindowsFormsApplication1{ public partial class WelcomeForm : Form { public Wel... 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Collections;namespace FileSort{ class Program { //static void Main(string[] args) //{ //} public enum CharType { Number = 0, Normal = 1 ... 阅读全文
摘要:
public static void ChangeColour(this Bitmap bmp, byte inColourR, byte inColourG, byte inColourB, byte outColourR, byte outColourG, byte outColourB) { // Specify a pixel format. PixelFormat pxf = PixelFormat.Format24bppRgb; // Lock the bitmap's bits. ... 阅读全文
摘要:
http://support.microsoft.com/kb/967715 阅读全文
摘要:
1) Close your solution2) Tools->Options->"Windows Form Designer" - find AutoToolboxPopulate property in Toolbox category and set 'true'3) Open your solution. 阅读全文
摘要:
Wireshark(前称Ethereal)是一个网络封包分析软件。网络封包分析软件的功能是撷取网络封包,并尽可能显示出最为详细的网络封包资料。 阅读全文
摘要:
public bool isDicom(string filename) { FileStream fs = File.OpenRead(filename); byte[] data = new byte[132]; fs.Read(data, 0, data.Length); int b0 = data[0] & 255, b1 = data[1] & 255, b2 = data[2] & 255, b3 = data[3] & 255; if (data[128] ... 阅读全文
摘要:
Sandcastle Help File Builderhttp://shfb.codeplex.com/ 阅读全文
摘要:
http://www.cnblogs.com/easyzikai/archive/2012/10/14/2723328.html 阅读全文
摘要:
Invoke(new EventHandler(delegate { Bitmap bitmap2 = (Bitmap)eventArgs.Frame.Clone(); ThreadPool.QueueUserWorkItem(delegate { bitmap2.Save(@"G:\VCAP\" + last.T... 阅读全文