摘要: Point mouse = this.PointToScreen(Control.MousePosition);label1.Text = mouse.X.ToString() + ":" + mouse.Y.ToString(); 阅读全文
posted @ 2013-06-20 19:53 奇奇博客 阅读(176) 评论(0) 推荐(0) 编辑
摘要: //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 阅读全文
posted @ 2013-06-20 19:47 奇奇博客 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 后台代码: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 阅读全文
posted @ 2013-06-20 19:39 奇奇博客 阅读(418) 评论(0) 推荐(0) 编辑
摘要: --------------------myRegister1.ascx前台代码-----------------------<script src="js/Jquery1.7.js" type="text/javascript"></script><script type="text/javascript">function Register() {if ($('#myRegister1_txtUserName').val() == '') {$('#spa 阅读全文
posted @ 2013-06-18 17:05 奇奇博客 阅读(236) 评论(0) 推荐(0) 编辑
摘要: public partial class Form1 : Form{public Form1(){InitializeComponent();}private void button1_Click(object sender, EventArgs e){this.backgroundWorker1.RunWorkerAsync();}private void button2_Click(object sender, EventArgs e){MessageBox.Show("各种Info快来下载吧!");}private void backgroundWorker1_DoW 阅读全文
posted @ 2013-06-18 11:58 奇奇博客 阅读(274) 评论(0) 推荐(0) 编辑
摘要: class Program{static void Main(string[] args){ThreadStart num = new ThreadStart(PrintNum);Thread ConstrolNum = new Thread(num);ThreadStart str = new ThreadStart(PrintStr);Thread ConstrolStr = new Thread(str);Stopwatch watch = new Stopwatch();watch.Start();ConstrolNum.Start();ConstrolStr.Start();whil 阅读全文
posted @ 2013-06-18 11:55 奇奇博客 阅读(229) 评论(0) 推荐(0) 编辑
摘要: wp7应用电流效果放出下载地址http://download.csdn.net/detail/shang_111111/5576995 阅读全文
posted @ 2013-06-14 09:31 奇奇博客 阅读(121) 评论(0) 推荐(0) 编辑
摘要: Wp7访问博客园应用开发放出地址http://download.csdn.net/detail/shang_111111/5576913 阅读全文
posted @ 2013-06-14 09:22 奇奇博客 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 前台代码: <!--LayoutRoot 是包含所有页面内容的根网格--> <Grid x:Name="LayoutRoot" Background="Transparent"> <Grid.RowDefinitions> <RowDefinition Height="Auto"/> <RowDefinition Height="*"/> </Grid.RowDefinitions> <!--TitlePanel 包含应用程序的名称和页标 阅读全文
posted @ 2013-06-14 09:12 奇奇博客 阅读(160) 评论(0) 推荐(0) 编辑
摘要: <configuration> <system.web> <compilation debug="true" targetFramework="4.0" /> <authentication mode="Forms"> <forms loginUrl="WebLogin.aspx" defaultUrl="Index.aspx"/> </authentication> <authorization> <!- 阅读全文
posted @ 2013-06-14 08:54 奇奇博客 阅读(219) 评论(0) 推荐(0) 编辑