摘要:
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)... 阅读全文
摘要:
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... 阅读全文