摘要:
System.Windows.Forms.Timer timer1 = new System.Windows.Forms.Timer(); System.Windows.Forms.Timer timer2 = new System.Windows.Forms.Timer(); SqlConnect 阅读全文
摘要:
public void callback2(object sender, EventArgs e) { Random ran = new Random(); int rt = ran.Next(1, 101); // 含下线不含上线 label1.Text = rt.ToString(); } 阅读全文
摘要:
protected override bool ProcessCmdKey(ref Message msg, Keys keyData) { //if (keyData == Keys.Left) //{ // this.button1.PerformClick(); // //this.btnTe 阅读全文
摘要:
private void result_FormClosing_1(object sender, FormClosingEventArgs e) { System.Environment.Exit(0); } 阅读全文
摘要:
using System.Windows.Forms;using System.Xml; using Msword = Microsoft.Office.Interop.Word; private void dy_Click(object sender, EventArgs e) { Form f1 阅读全文
摘要:
[DllImport("gdi32.dll", CharSet = CharSet.Auto, SetLastError = true, ExactSpelling = true)] public static extern int BitBlt(HandleRef hDC, int x, int 阅读全文
摘要:
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Drawing.Imaging;using Sy 阅读全文
摘要:
public void main_Load(object sender, EventArgs e) { string xmlpath = System.AppDomain.CurrentDomain.BaseDirectory + "setting.xml"; XmlDocument docx = 阅读全文
摘要:
Process pro = new Process(); string propath = System.AppDomain.CurrentDomain.BaseDirectory; string t_data = ""; string t_sa = ""; string t_pwd = ""; p 阅读全文
摘要:
注意: 如果填写地址 是指定端口 IP地址与端口之间需要用逗号隔开。 private void button2_Click(object sender, EventArgs e) { string strdata = textBox1.Text; string strsa = textBox2.Te 阅读全文
摘要:
private void button1_Click(object sender, EventArgs e) { string xmlpath = System.AppDomain.CurrentDomain.BaseDirectory + "setting.xml"; XmlDocument xm 阅读全文
摘要:
一、登录按钮 private void button1_Click(object sender, EventArgs e) { string xmlpath = System.AppDomain.CurrentDomain.BaseDirectory + "setting.xml"; XmlDocu 阅读全文