12 2008 档案

摘要:把FormBourderStyle设置为SizableToolWindow 然后把 TopMost = True; 然后把 第一次显示设置为Startpostion = CenterScreen 就可以了 阅读全文
posted @ 2008-12-19 11:56 Thinking.N 阅读(882) 评论(0) 推荐(0) 编辑
摘要:Code Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->using System; using System.Collections; class Ten { static void Main() { Console.WriteL... 阅读全文
posted @ 2008-12-17 12:35 Thinking.N 阅读(458) 评论(1) 推荐(0) 编辑
摘要:Code Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->using System; public class Test { public int int_x; public string str_x; public byte byte... 阅读全文
posted @ 2008-12-16 21:36 Thinking.N 阅读(524) 评论(2) 推荐(0) 编辑
摘要:Code struct的构造函数: 1.不能有无参数的构造函数。 2.声明变量不能有初始值 3.声明实体实体的时候不引用默认构造函数! 阅读全文
posted @ 2008-12-16 21:34 Thinking.N 阅读(633) 评论(0) 推荐(0) 编辑
摘要:ID是设计的时候所指定的ID。 ClientID是当这个控件生成到客户端页面时候,需要在客户端访问时候用的。 UniqueID是当需要参与服务端回传的时候用的。 备注:当控件是子控件的时候(例如在用户控件中的Button),ClientID在HTML页面中是作为控件的ID属性,UniqueID是作为控件的Name属性,如果不是子控件,那么ClientID和UniqueID是相同的 例如: My... 阅读全文
posted @ 2008-12-15 10:34 Thinking.N 阅读(410) 评论(0) 推荐(0) 编辑
摘要:ID是设计的时候所指定的ID。 ClientID是当这个控件生成到客户端页面时候,需要在客户端访问时候用的。 UniqueID是当需要参与服务端回传的时候用的。 备注:当控件是子控件的时候(例如在用户控件中的Button),ClientID在HTML页面中是作为控件的ID属性,UniqueID是作为控件的Name属性,如果不是子控件,那么ClientID和UniqueID是相同的 例如: My... 阅读全文
posted @ 2008-12-15 10:30 Thinking.N 阅读(258) 评论(0) 推荐(0) 编辑
摘要:1.加密。 Response.Redirect("DetailInfo.aspx?id=" Convert.ToBase64String (System.Text.Encoding.Default.GetBytes("sp10006")).Replace(" ","+")); 2.解密。 string ID =System.Text.Encoding.Default.GetString (Conv... 阅读全文
posted @ 2008-12-11 11:38 Thinking.N 阅读(432) 评论(1) 推荐(0) 编辑
摘要:Code addEventListener-----Firefox attachEvent---IE Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> 无标题文档 阅读全文
posted @ 2008-12-04 22:39 Thinking.N 阅读(311) 评论(0) 推荐(0) 编辑
摘要:Code addEventListener对应IE,attachEvent对应Firefox.. Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> 无标题文档 阅读全文
posted @ 2008-12-04 22:37 Thinking.N 阅读(264) 评论(1) 推荐(0) 编辑
摘要:File的静态类: 包含的方法: Exists(Filename)-检查制定文件是否存在。 Copy(“TheSource File”,"The new file")--将文件从原位置复制到目标位置 Create()--从规定的路径创建文件 Delete()--删除文件 Open()--从规定的路径上返回FileStream对象 Move()--将制定的文件移动到新位置,可以在新位置为文件规... 阅读全文
posted @ 2008-12-01 11:48 Thinking.N 阅读(560) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示