摘要:
Point mouse = this.PointToScreen(Control.MousePosition);label1.Text = mouse.X.ToString() + ":" + mouse.Y.ToString(); 阅读全文
摘要:
//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:\images\上午5批处理和脚本.avi",true);//拷贝3个多G的系统映像文件//File.Copy(@"E:\soft\cn_windows_7_ultimate_x 阅读全文
摘要:
后台代码:private void button1_Click(object sender, EventArgs e){ParameterizedThreadStart start = new ParameterizedThreadStart(DownLoadHtml);Thread thread = new Thread(start);thread.Start();}private void DownLoadHtml(object obj){for (int i = 30000; i < 30010; i++){using (WebClient client = new WebClie 阅读全文