摘要:
////=================================================//基于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
阅读(449)
评论(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
阅读(629)
评论(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
阅读(701)
评论(0)
推荐(0)
摘要:
http://www.cnblogs.com/net66/archive/2005/08/03/206132.html 阅读全文
posted @ 2011-08-06 11:20
deepwishly
阅读(104)
评论(0)
推荐(0)
浙公网安备 33010602011771号