摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->using System; using System.Collections.Generic; using System.Linq; using System.Text; using ... 阅读全文
posted @ 2009-04-29 23:17 蓝色侵略 阅读(653) 评论(0) 推荐(0) 编辑
摘要: 常数值描述 vbKeyLButton 0x1 鼠标左键 vbKeyRButton 0x2 鼠标右键 vbKeyCancel 0x3 CANCEL 键 vbKeyMButton 0x4 鼠标中键 vbKeyBack 0x8 BACKSPACE 键 vbKeyTab 0x9 TAB 键 vbKeyClear 0xC CLEAR 键 vbKeyReturn 0xD ENTER 键 vbKeyShift... 阅读全文
posted @ 2009-04-29 23:13 蓝色侵略 阅读(1959) 评论(0) 推荐(0) 编辑
摘要: 如何编制RPG游戏(上) 游戏玩得多了,可能每个人都曾会想过一个问题:要是自己也能制作出一套游戏那多好。究竟编游戏的吸引力在哪里呢?在很多地方,颇具微妙--你就真正控制了故事中剧情的发展、主角的命运,也许还有用自己主观感情去感染别人。这就好比写作,虽然并非人人都会去做,却人人想做,极富魅力。 那么,在业余条件下能否完成游戏的编制呢?答案是完全可以。 ... 阅读全文
posted @ 2009-04-29 23:04 蓝色侵略 阅读(341) 评论(0) 推荐(0) 编辑
摘要: System.Windows.Forms.SendKeys.Send("键"); 每个键都由一个或多个字符表示。若要指定单个键盘字符,请使用该字符本身。例如,若要表示字母 A,请将字符串“A”传递给方法。若要表示多个字符,请将各个附加字符追加到它之前的字符的后面。若要表示字母 A、B 和 C,请将参数指定为“ABC”。 若要指定按键... 阅读全文
posted @ 2009-04-29 22:49 蓝色侵略 阅读(542) 评论(0) 推荐(0) 编辑
摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> static void Main(string[] args) { ArrayList al = new ArrayList(); ... 阅读全文
posted @ 2009-04-29 22:33 蓝色侵略 阅读(511) 评论(1) 推荐(0) 编辑
摘要: 该例中使用 CommandBuilder 自动生成 SQL 语句,若要为 DataAdapter 自动生成 SQL 语句,首先设置 DataAdapter 的 SelectCommand 属性,然后,创建一个 CommandBuilder 对象并以参数形式指定CommandBuilder 将为其自动生成 SQL 语句的 DataAdapter。 具体实现步骤: 1. 仍在项... 阅读全文
posted @ 2009-04-29 01:21 蓝色侵略 阅读(685) 评论(1) 推荐(0) 编辑
摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System; using System.Collections.Generic; using System.Linq; using System.Data; using Syste... 阅读全文
posted @ 2009-04-29 00:55 蓝色侵略 阅读(290) 评论(1) 推荐(0) 编辑