摘要:
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
阅读(9)
推荐(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
阅读(2)
推荐(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
阅读(2)
推荐(0)
编辑
摘要:
private void result_FormClosing_1(object sender, FormClosingEventArgs e) { System.Environment.Exit(0); }
阅读全文
posted @ 2024-04-20 22:19
Lionever
阅读(3)
推荐(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:15
Lionever
阅读(5)
推荐(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
阅读(4)
推荐(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:56
Lionever
阅读(5)
推荐(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
阅读(3)
推荐(0)
编辑