摘要: 1、定义调用一个父类IParentUctonrol:View Code using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ClinicDoctor.Class{ public interface IParentUseControl { /// <summary> /// 分页功能方法。获取数据 /// </summary> /// <param name="nPagenum">显示的当前页码</... 阅读全文
posted @ 2012-01-09 14:30 xalyf 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 项目中用到太多窗体控件,按回车选择下一个TablIndex控件方法:SelectNextControlpublic bool SelectNextControl( Control ctl, bool forward, bool tabStopOnly, bool nested, bool wrap)参数ctl类型:System.Windows.Forms.Control从其上开始搜索的Control。forward类型:System.Boolean如果为true则在 Tab 键顺序中前移;如果为false则在 Tab 键顺序中后移。tabStopOnly类型:System.Booleantru 阅读全文
posted @ 2012-01-09 14:18 xalyf 阅读(1082) 评论(0) 推荐(0) 编辑