private void ThreadImageGet(object data) { ImageEntity IE = (ImageEntity)data; Image image; si.KchartImageGet(IE.id, IE.k, out image); IE.bimage(image); }
//获取k线图 public void KchartImageGet(string id, kchart k, backimage bimage) { Thread get = new Thread(new ParameterizedThreadStart(ThreadImageGet)); ImageEntity IE = new ImageEntity(); IE.id = id; IE.k = k; IE.bimage = bimage; get.Start(IE); }