摘要: 一:第一列显示行号 CustomDrawRowIndicatorthis.gridViewDevice.IndicatorWidth = 40; this.gridViewDevice.CustomDrawRowIndicator += new DevExpress.XtraG... 阅读全文
posted @ 2014-12-26 14:04 梦落轩辕 阅读(460) 评论(0) 推荐(0) 编辑
摘要: 错误一:“此时无足够的可用内存,无法满足操作的预期要求,可能是由于虚拟地址空间碎片造成的,请稍后重试” 安装VS2010补丁:http://xiazai.jb51.net/201007/tools/VS10-KB2251084-x86.rar 阅读全文
posted @ 2014-12-22 13:48 梦落轩辕 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 一:创建类GridCheckMarksSelection #region Fileds RepositoryItemGridLookUpEdit _currentRepository; protected ArrayList selection; ... 阅读全文
posted @ 2014-12-22 13:37 梦落轩辕 阅读(7245) 评论(0) 推荐(0) 编辑
摘要: 一:navBarControl 属性设置 工具箱中的Navigation & Layout选项卡下找到NavBarControl,拖到窗体中 工具箱中添加2个imageCollection。分别设置Item的大小图标集合,选择相应图片添加到集合中。(大图标32*32,小图标16*16) navBar 阅读全文
posted @ 2014-12-17 13:54 梦落轩辕 阅读(764) 评论(0) 推荐(0) 编辑
摘要: "cw" + Tab + Tab - Console.WriteLine();"mbox" + Tab + Tab - Messagebox.Show();"prop”+ Tab + Tab -含有Get、Set访问器的属性块"propg”+ Tab + Tab -只读属性快"propfull”+ ... 阅读全文
posted @ 2014-09-04 16:17 梦落轩辕 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 一:新建类HotKeys命名空间:using System.Runtime.InteropServices;二:注册热键API[DllImport("user32")]public static extern bool RegisterHotKey(IntPtr hWnd, Int32 id, UI... 阅读全文
posted @ 2014-04-29 16:57 梦落轩辕 阅读(433) 评论(0) 推荐(0) 编辑
摘要: 1:CheckBox(全选,反选)容器内或指定容器内View Code foreach (Control ctl in this.Controls) //this.groupBox1.Controls { if (ctl is CheckBox) { CheckBox ck = ctl as CheckBox; if (ck!=null) { ck... 阅读全文
posted @ 2013-03-13 15:28 梦落轩辕 阅读(165) 评论(0) 推荐(0) 编辑