上一页 1 ··· 9 10 11 12 13 14 15 下一页
摘要: [代码][代码] 阅读全文
posted @ 2009-09-27 16:56 韩天伟 阅读(424) 评论(1) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2009-09-27 16:50 韩天伟 阅读(818) 评论(0) 推荐(0) 编辑
摘要: 首先要导入jQuery(如:jquery-1.3.2.min.js)的包和弹出框所需的JS包(dialog.js),并添加JS指定需要的图片路径[代码]在点击事件中设置下对应的属性就可以啦[代码]/Files/hantianwei/tanchuang.rar 阅读全文
posted @ 2009-09-27 16:47 韩天伟 阅读(2115) 评论(2) 推荐(1) 编辑
摘要: 先看看ASP.NET页面刷新的实现方法:第一: private void Button1_Click( object sender, System.EventArgs e ) { Response.Redirect( Request.Url.ToString( ) ); } 第二: private void Button2_Click( object sender, System.EventArg... 阅读全文
posted @ 2009-09-27 16:17 韩天伟 阅读(403) 评论(0) 推荐(0) 编辑
摘要: [代码]实现延时5秒后跳转 阅读全文
posted @ 2009-09-27 16:16 韩天伟 阅读(574) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2009-09-27 16:15 韩天伟 阅读(349) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2009-09-24 17:39 韩天伟 阅读(895) 评论(1) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2009-09-24 17:38 韩天伟 阅读(2050) 评论(6) 推荐(0) 编辑
摘要: 1、首先为DataGridView添加一个RowPostPaint事件。2、在事件代码中把下面的代码贴上:[代码] 阅读全文
posted @ 2009-09-22 17:04 韩天伟 阅读(446) 评论(0) 推荐(0) 编辑
摘要: [代码]看到很多人在网上找,取dataGridView的行和列的信息,今天偶而发一下。 阅读全文
posted @ 2009-09-22 16:52 韩天伟 阅读(529) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2009-09-21 17:50 韩天伟 阅读(609) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2009-09-21 17:39 韩天伟 阅读(599) 评论(0) 推荐(0) 编辑
摘要: [代码]wq r 阅读全文
posted @ 2009-09-21 17:26 韩天伟 阅读(6757) 评论(0) 推荐(0) 编辑
摘要: 范例说明:本范例讲解如何创建右键菜单,重点请注意菜单控件ContextMenuStrip的使用. 关键步骤: 1.创建一个新的Windows工程。 2.把ContextMenuStrip控件拖放到设计界面上,Name属性设置为cmMenu. 3.单击ContextMenuStrip控件的Type Here文本区域,可以输入菜单项的名称,如&new,然后回车. 4.添加RichTextBox控件,设置Name属性为"rchShow". 设置Form和RichTextBox的ContextMenuStript属性为“cmMenu”。 阅读全文
posted @ 2009-09-20 02:05 韩天伟 阅读(19854) 评论(1) 推荐(0) 编辑
摘要: 多种方法,具体情况,用具体方法 this.Close() ; 关闭当前窗体或对象 Application.Exit(); 关闭所有应用程序窗口 阅读全文
posted @ 2009-09-18 10:09 韩天伟 阅读(12980) 评论(0) 推荐(0) 编辑
摘要: ProcessStartInfo psi = new ProcessStartInfo(); psi.FileName = "NOTEPAD.EXE"; psi.WindowStyle = ProcessWindowStyle.Hidden; Process.Start(psi); 阅读全文
posted @ 2009-09-17 11:47 韩天伟 阅读(3326) 评论(0) 推荐(0) 编辑
摘要: 比如 aa.exe -auto aa.exe -main 两组后缀,要求分别运行aa的某个线程,比如aa.exe -auto打开from1,aa.exe -main打开from2 阅读全文
posted @ 2009-09-17 11:45 韩天伟 阅读(2069) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2009-09-14 13:50 韩天伟 阅读(1089) 评论(0) 推荐(0) 编辑
摘要: ·关于C#中timer类 在C#里关于定时器类就有3个1.定义在System.Windows.Forms里2.定义在System.Threading.Timer类里3.定义在System.Timers.Timer类里System.Windows.Forms.Timer是应用于WinForm中的,它是通过Windows消息机制实现的,类似于VB或Delphi中的Timer控件,内部使用AP... 阅读全文
posted @ 2009-09-14 13:36 韩天伟 阅读(353) 评论(0) 推荐(0) 编辑
摘要: 网站文件名: 1、 网站文件名以标准英文单词描述业务内容。如果1个英文单词无法描述,可以增加2个或者3个,但尽量为完全单词,例如article.aspx/ articleView.aspx / articleList.aspx 等。2、 文件名尽量不用数字描述。3、 文件名尽量不能太长,以不超过20个字母为宜。4、 图片文件名尽量描述图片内容分类。尽量以btn,menu,title,arrow,... 阅读全文
posted @ 2009-08-22 20:54 韩天伟 阅读(434) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 下一页