随笔分类 -  DevExpress

摘要:////=================================================//基于DevExpress通用表格打印////设计:陈炎和2011.02//==================================================usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.Drawing;usingSystem.Collections;usingSystem.ComponentModel;usingDevE 阅读全文
posted @ 2011-08-06 11:35 deepwishly 阅读(448) 评论(0) 推荐(0)
摘要:第一种方法:System.Drawing.Printing.PageSettingsset_print_page=newSystem.Drawing.Printing.PageSettings();DevExpress.XtraPrinting.DynamicPrintHelperph=newDevExpress.XtraPrinting.DynamicPrintHelper();if(ph.IsPrintingAvailable){ph.PageSettings=set_print_page;ph.PageSettings.Landscape=true;ph.ShowPreview(this 阅读全文
posted @ 2011-08-06 11:25 deepwishly 阅读(628) 评论(0) 推荐(0)
摘要:本来以为DevExpress的defaultLookAndFeel换肤工具是万能的呢,只要添加上就可以自动适应,其实不然,下面说说如何实现整个项目中所有窗体同时换肤。第一步: 让所有窗体都从DevExpress.XtraEditors.XtraForm继承。第二步: 添加皮肤的引用第三步: 建立一个窗体基类 ,其中加上publicpartial class ModuleForm : DevExpress.XtraEditors.XtraForm{ publicstatic DevExpress.LookAndFeel.DefaultLookAndFeel defaultLookAndFeel= 阅读全文
posted @ 2011-08-06 11:23 deepwishly 阅读(697) 评论(0) 推荐(0)
摘要:从DXperience 9.2开始,为了实现HTML压缩特别是提高网站的性能,DX提供了web.config的相关设置. 首先,我们看一组数据:速度对比使用自定义的HttpHandler,对于9.2版本的性能影响是非常明显的,从下表中可以看出9.1跟9.2的对比数据:以下测试工具是采用Fiddle2得出的结果:2009.1 2009.2接收字节数: 1,906,225 792,501耗时: 00:00:21.7013394 00:00:05.0325032text/ Java Script: 761,949 134,195text/html: 924,800 40,667页面加载速度从 21. 阅读全文
posted @ 2010-12-06 10:13 deepwishly 阅读(231) 评论(0) 推荐(0)
摘要:http://www.cn-web.com/shtml/article/net/wform/2009/02/04/441.shtml dockPanel2.Dock = DockingStyle.Right; dockPanel2.Visibility = DockVisibility.Visible 阅读全文
posted @ 2010-07-11 14:48 deepwishly 阅读(364) 评论(0) 推荐(0)
摘要:http://edu.cnzz.cn/NewsInfo/21867.aspxhttp://www.devexpress.com/Help/?document=WinConcepts/CustomDocument5755.htmhttp://www.devexpress.com/Support/Center/KB/p/A421.aspx 阅读全文
posted @ 2010-05-14 19:31 deepwishly 阅读(236) 评论(0) 推荐(0)