博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 ··· 6 7 8 9 10 11 12 13 14 15 下一页

2009年2月2日

摘要: var downloadLink = document.getElementById('downloadFileLink');downloadLink.onclick(); //this sentence can't run in firefox解决办法:标签中添加onclick事件Code highlighting produced by Actipro CodeHighlighter (fr... 阅读全文

posted @ 2009-02-02 22:21 Zhiyett 阅读(3305) 评论(0) 推荐(0) 编辑

摘要: 1.注释掉如下代码//[assembly: AssemblyKeyFile("D:\\MySn.snk")] //[assembly: AssemblyDelaySign(false)] 阅读全文

posted @ 2009-02-02 16:01 Zhiyett 阅读(148) 评论(0) 推荐(0) 编辑

2009年1月31日

摘要: http://www.dotnetspace.com/articles/general-articles/using-log4net---very-quick-start.html 阅读全文

posted @ 2009-01-31 23:29 Zhiyett 阅读(167) 评论(0) 推荐(0) 编辑

摘要: 一、使用图片来显示错误信息Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> " > 其中调用javascript函数validate_Integ... 阅读全文

posted @ 2009-01-31 21:16 Zhiyett 阅读(420) 评论(0) 推荐(0) 编辑

摘要: 方法1.按如下代码更改 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Collections.Generic;using System.Linq;using System.Windows.Forms... 阅读全文

posted @ 2009-01-31 20:34 Zhiyett 阅读(311) 评论(0) 推荐(0) 编辑

摘要: 1.ToString()方法double d=12345678.2334;Console.WriteLine(d.ToString("F2")); //1234.23Console.WriteLine(d.ToString("###,###.00")); //12,345,678.232.Math.Round()方法Math.Round(3.44, 1); //Returns 3.4.Math.R... 阅读全文

posted @ 2009-01-31 20:20 Zhiyett 阅读(1424) 评论(0) 推荐(0) 编辑

摘要: 1 接口的定义Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->public interface IAttribute{ string Name { get;set;}}public class Component : IAttribute{ ... 阅读全文

posted @ 2009-01-31 19:07 Zhiyett 阅读(198) 评论(0) 推荐(0) 编辑

摘要: ------ToolStrip 其中每个按钮的属性(设置Tag等),其事件为 CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->private void SetStyle(object sender,EventArgs e){ Tool... 阅读全文

posted @ 2009-01-31 17:36 Zhiyett 阅读(428) 评论(0) 推荐(0) 编辑

摘要: C#-结构与枚举1.类和结构的区别1.1 不同点: 类型:类是引用类型,结构是值类型. 继承:类可继承,结构不能继承.结构不能继承其他的结构和类,或是被用作其他结构或类的基类. 构造方法与析够函数:结构可以定义构造方法,但不能定义析够函数.类既可以定义构造方法,也可定义析够函数.1.2相同点 对象创建:可以使用new进行初始化,或进行手工初始化.类和结构都可以.... 阅读全文

posted @ 2009-01-31 17:20 Zhiyett 阅读(536) 评论(0) 推荐(0) 编辑

摘要: 1.属性、构造函数Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> class Computer { private string name; public string Name { ... 阅读全文

posted @ 2009-01-31 16:21 Zhiyett 阅读(197) 评论(0) 推荐(0) 编辑

上一页 1 ··· 6 7 8 9 10 11 12 13 14 15 下一页