摘要:
public static void Raise<T>(this EventHandler<T> handler, object sender, T args) where T : EventArgs{ if (handler != null) { handler(sender, args); }}public static void Raise(this EventHandler handler, object sender, EventArgs args){ if (handler != null)... 阅读全文
posted @ 2013-04-23 09:11
武胜-阿伟
阅读(196)
评论(0)
推荐(0)
摘要:
View Code using System;using System.Collections.Generic;using System.Text;using System.Runtime.InteropServices;namespace CalmBeltFund.Trading.CTPStock{ internal class PInvokeUtility { static Encoding encodingGB2312 = Encoding.GetEncoding(936); public static string GetUnicodeString(byte[] str... 阅读全文
posted @ 2013-04-23 08:32
武胜-阿伟
阅读(144)
评论(0)
推荐(0)
浙公网安备 33010602011771号