随笔分类 -  Devexpress

DevExpress GridControl 导出为Excel
摘要:private void btnExport_ItemClick(object sender, EventArgs e) { SaveFileDialog saveFileDialog = new SaveFileDialog(); saveFileDialog.Title = "导出Excel"; saveFileDialog.Filter = "Excel文件(*.xls)|*.xls"; DialogResult dialogResult = saveFileDialog.ShowDialog(this); if (dialogResult == 阅读全文

posted @ 2013-07-04 17:41 水行者 阅读(1101) 评论(1) 推荐(0) 编辑

TreeList 选中节点时图标状态和背景色
摘要:/**////给TreeList加SelectImagethis.treelArea.SelectImageList=imglCustom;/**///////去掉选中节点时的虚框this.treelArea.OptionsView.ShowFocusedFrame;/**///////设置选中时节点的背景色this.treelArea.Appearance.FocusedCell.BackColor=System.Drawing.Color.LightSteelBlue;this.treelArea.Appearance.FocusedCell.BackColor2=System.Drawi 阅读全文

posted @ 2013-01-29 10:28 水行者 阅读(331) 评论(0) 推荐(0) 编辑

导航

点击右上角即可分享
微信分享提示