2024年5月2日
摘要: 一、获取五档买盘 price = 0.0pmarkcode = 0sip = ''sport = 0l1 = []time_now = datetime.now().minuteif (scode[0] == '0' and scode[1] == '0') or scode[0] == '3': 阅读全文
posted @ 2024-05-02 17:36 Lionever 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 一、获取实时价格 def tdxgetprice(self,scode): # 取实时价格 price =0.0 pmarkcode =0 sip ='' sport =0 time_now =datetime.now().minute if (scode[0]=='0' and scode[1]= 阅读全文
posted @ 2024-05-02 17:30 Lionever 阅读(1) 评论(0) 推荐(0) 编辑
  2024年4月20日
摘要: System.Windows.Forms.Timer timer1 = new System.Windows.Forms.Timer(); System.Windows.Forms.Timer timer2 = new System.Windows.Forms.Timer(); SqlConnect 阅读全文
posted @ 2024-04-20 22:30 Lionever 阅读(1) 评论(0) 推荐(0) 编辑
摘要: public void callback2(object sender, EventArgs e) { Random ran = new Random(); int rt = ran.Next(1, 101); // 含下线不含上线 label1.Text = rt.ToString(); } 阅读全文
posted @ 2024-04-20 22:26 Lionever 阅读(1) 评论(0) 推荐(0) 编辑
摘要: protected override bool ProcessCmdKey(ref Message msg, Keys keyData) { //if (keyData == Keys.Left) //{ // this.button1.PerformClick(); // //this.btnTe 阅读全文
posted @ 2024-04-20 22:20 Lionever 阅读(1) 评论(0) 推荐(0) 编辑
摘要: private void result_FormClosing_1(object sender, FormClosingEventArgs e) { System.Environment.Exit(0); } 阅读全文
posted @ 2024-04-20 22:19 Lionever 阅读(1) 评论(0) 推荐(0) 编辑
摘要: using System.Windows.Forms;using System.Xml; using Msword = Microsoft.Office.Interop.Word; private void dy_Click(object sender, EventArgs e) { Form f1 阅读全文
posted @ 2024-04-20 22:16 Lionever 阅读(1) 评论(0) 推荐(0) 编辑
摘要: [DllImport("gdi32.dll", CharSet = CharSet.Auto, SetLastError = true, ExactSpelling = true)] public static extern int BitBlt(HandleRef hDC, int x, int 阅读全文
posted @ 2024-04-20 22:13 Lionever 阅读(1) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Drawing.Imaging;using Sy 阅读全文
posted @ 2024-04-20 21:57 Lionever 阅读(1) 评论(0) 推荐(0) 编辑
摘要: public void main_Load(object sender, EventArgs e) { string xmlpath = System.AppDomain.CurrentDomain.BaseDirectory + "setting.xml"; XmlDocument docx = 阅读全文
posted @ 2024-04-20 21:37 Lionever 阅读(1) 评论(0) 推荐(0) 编辑