摘要: 1. 按钮(Button) AcceptButton属性,即每次按下Enter键都相当于单击该按钮Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->//设置本窗体的button1为“接受”按钮this.AcceptButton = button1; 2. 相应的还有一个cancelButton属性:即每次按下Esc键都相当于单击该按钮3. 文本控件的只读属性:readonly属性4. 文本框的selectionStart(搜索起点)、selec 阅读全文
posted @ 2010-03-18 09:32 guolebin7 阅读(1348) 评论(0) 推荐(0) 编辑