摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->using System; using System.Collections;//ArrayList必备 using System.Threading;//时间延迟必备 namesp... 阅读全文
posted @ 2009-04-30 00:39 蓝色侵略 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 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) 编辑
摘要: 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) 编辑
摘要: 验证字符串格式的函数代码为: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> static void StrWillBeOk(ref String str) { bool toBeContinue =... 阅读全文
posted @ 2009-04-21 21:07 蓝色侵略 阅读(446) 评论(0) 推荐(0) 编辑
摘要: 情景:商店的资金基本就是两个方向,进货花钱,卖货赚钱,能不能编一个程序,反映实时的周转资金? Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System; using System.Collections.Generic; using... 阅读全文
posted @ 2009-04-01 18:07 蓝色侵略 阅读(191) 评论(0) 推荐(0) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Conso... 阅读全文
posted @ 2009-04-01 17:03 蓝色侵略 阅读(976) 评论(0) 推荐(0) 编辑