![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
winfrom
文章平均质量分 55
商炳奇
商炳奇
展开
-
winfrom实现闹钟
后台代码: Clock myClock = new Clock(); public Form1() { InitializeComponent(); } private void btnBrowse_Click(object sender, EventArgs e)原创 2013-05-30 22:07:22 · 716 阅读 · 0 评论 -
用控制台测试多个线程
class Program { static void Main(string[] args) { ThreadStart num = new ThreadStart(PrintNum); Thread ConstrolNum = new Thread(num); Threa原创 2013-06-18 11:54:46 · 1176 阅读 · 0 评论 -
winform下载网页源码
public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) {原创 2013-06-18 11:58:24 · 1221 阅读 · 0 评论 -
winfrom拷贝文件
//File.Copy(@"C:\Users\Administrator\Pictures\bg.png", @"g:\images\bg.png", true); //拷贝avi格式的视频文件,大概市场30分钟 //File.Copy(@"E:\csdn\2011级行课\2013-03-08\上午5批处理和脚本.avi", @"G:\image原创 2013-06-20 19:47:25 · 1446 阅读 · 0 评论 -
winfrom获得鼠标的坐标
Point mouse = this.PointToScreen(Control.MousePosition);label1.Text = mouse.X.ToString() + ":" + mouse.Y.ToString();原创 2013-06-20 19:52:40 · 1465 阅读 · 0 评论 -
线程池及线程带参数
后台代码: private void button1_Click(object sender, EventArgs e) { ParameterizedThreadStart start = new ParameterizedThreadStart(DownLoadHtml); Thread thread原创 2013-06-20 19:38:20 · 1497 阅读 · 1 评论