2007年8月24日
摘要: 1int press = 0; 2 int dept=1; 3 this.repositoryItemProgressBar1.Maximum =100; 4 this.repositoryItemProgressBar1.Minimum = 0; 5 for (int i = 0; i < 100; i++) 6 { 7 this.ba... 阅读全文
posted @ 2007-08-24 11:50 高原之上 阅读(1362) 评论(2) 推荐(0) 编辑
摘要: /**//// /// 拖曳节点并保存结果 /// /// /// private void treelArea_DragDrop(object sender, DragEventArgs e) { TreeListNode fNode; TreeListNode tNode; string parentId; string regId; try ... 阅读全文
posted @ 2007-08-24 10:00 高原之上 阅读(607) 评论(1) 推荐(0) 编辑
摘要: 1/**//// 2 /// TreeList 绘制NodeButton事件的处理程序 3 /// imglCustom是一个imagelist 有两个图标,如果当前节点是展开的则显示第一个图标,否则显示第二个图标 4 /// 5 /// 6 /// 7 private void treeList1_CustomDrawNodeButton(object sender... 阅读全文
posted @ 2007-08-24 09:54 高原之上 阅读(455) 评论(0) 推荐(0) 编辑
摘要: 1/**//// 2 /// 初始化GridView,绑定数据 3 /// 4 /// 5 private void GridViewBindData(string parentId) 6 { 7 this.gridView1.Columns.Clear(); 8 this.FDs= areaSetupActionHelper.getDs... 阅读全文
posted @ 2007-08-24 09:31 高原之上 阅读(2913) 评论(10) 推荐(0) 编辑
摘要: 设置行标头的宽度: 外观->IndicatorWidth 阅读全文
posted @ 2007-08-24 09:25 高原之上 阅读(406) 评论(0) 推荐(0) 编辑
摘要: gridview有一个CustomDrawRowIndicator事件 示例如下: 1 if (e.Info.IsRowIndicator && e.RowHandle >= 0) 2 { 3 e.Info.DisplayText = (e.RowHandle + 1).ToString().Trim(); 4 } 阅读全文
posted @ 2007-08-24 09:19 高原之上 阅读(1110) 评论(0) 推荐(0) 编辑