一、准备1、准备一台Windows 8.1机器,安装VS20132、准备一台Windows 8.1机器,安装VS2010 XP的系统肯定不行,因为有不少的运行库不支持 Windows 7的系统没有测试过,不知道是否可行,不过肯定不支持Windows 8 XAML,所以建议用Windows 8.1.....
分类:
其他好文 时间:
2014-12-29 21:21:38
阅读次数:
1250
Posted on 2012-01-10 14:02 marcozh 阅读(1738) 评论(3) 编辑 收藏 最近用了Dev的Treelist控 件,其中用到了拖动方法。众所周知的是,Dev的Treelist封装了原先用递归才能实现的树状显示,所以写代码非常方便。以前我做树形表,还需要一些 辅助字...
分类:
其他好文 时间:
2014-12-28 00:17:46
阅读次数:
278
在很多DevExpress的使用例子里面,我们可以看到,基于GridView实现的不同控件展示的时候,每一列的控件类型都是一样的,如果我要某一列的一行让用户可以从下列列表选择选项,而其他行不可选择,那我们可以实现这种效果吗,应该如何实现?1、GridView实现的显示效果例如下面的效果就是我希望达到...
分类:
其他好文 时间:
2014-12-27 18:49:10
阅读次数:
197
namespace dxhbskymDemo
{ public partial class ExcelForm : DevExpress.XtraEditors.XtraForm { public ExcelForm() { InitializeComponent(); } #region ...
this.Text = ""; DevExpress.XtraTreeList.TreeListMultiSelection mMSTN = this.treeList_Resources.Selection; for (int i = 0; i < mMSTN.Count; i++) { this...
分类:
其他好文 时间:
2014-12-27 15:11:45
阅读次数:
598
using System;using System.Collections.Generic;using System.Drawing;using System.Windows.Forms;using DevExpress.XtraBars;using DevExpress.XtraTreeList;...
分类:
其他好文 时间:
2014-12-27 10:10:07
阅读次数:
233
一:第一列显示行号 CustomDrawRowIndicatorthis.gridViewDevice.IndicatorWidth = 40; this.gridViewDevice.CustomDrawRowIndicator += new DevExpress.XtraG...
分类:
其他好文 时间:
2014-12-26 14:23:43
阅读次数:
191
关键代码: #region 导出到Excel /// /// 导出到Excel /// eg:GridHelper.ToXls(gcLamp,string.Format("{0}_单灯电参数数据.xls", DateTime.Now.ToString("yyyyMMdd"))); /// /// ....
分类:
其他好文 时间:
2014-12-24 17:49:49
阅读次数:
300
DevExpress的GridControl提供方便的数据导出到Excel功能,导出中用户可以根据GridControl的格式进行导出(ExportToXls(Stream stream)方法)。
分类:
其他好文 时间:
2014-12-22 19:37:27
阅读次数:
383
//整行选中 this.grd_pageno.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
分类:
其他好文 时间:
2014-12-22 15:53:40
阅读次数:
192