原創(chuàng)|使用教程|編輯:郝浩|2013-09-17 12:05:40.000|閱讀 1812 次
概述:使用DevExpress Document Server的第一步就是需要在Visual Studio中加載DevExpress Document Server。
# 界面/圖表報表/文檔/IDE等千款熱門軟控件火熱銷售中 >>
DevExpress Document Server是DevExpress最新發(fā)布的.Net文檔處理庫,用于全代碼操作文檔,所以完全沒有可視化的界面。要使用DevExpress Document Server的第一步就是需要在Visual Studio中加載DevExpress Document Server。
1、打開Visual Studio,然后通過選擇FILE-New-Project…,創(chuàng)建一個新的Windows Forms Application項目。
2、添加引用,只添加DevExpress.Docs.v13.1.dll。
3、拖拽一個按鈕控件到窗體中。
4、雙擊這個按鈕,在按鈕點擊的處理程序中,插入以下代碼:
using DevExpress.UnitConversion; //... // The height is 5'4". QuantityValue<Distance> height = (5.0).Feet() + (4.0).Inches(); string s = String.Format("The height is {0} ells or {1} meters.", height.ToElls().Value.ToString("g3"), height.ToMeters().Value.ToString("g3")); MessageBox.Show(s);
5、運行項目,出現(xiàn)以下消息框。
程序集 | 描述 |
DevExpress.Docs.v13.1.dll | 包含非可視化組件和對象庫文件處理。 |
DevExpress.Data.v13.1.dll | 這是實現(xiàn)DevExpress控件功能的基本所需的,包括數(shù)據(jù)綁定,皮膚,打印,輸出和其他輔助型類和資源。 |
DevExpress.DataAccess.v13.1.dll | 包含連接流行數(shù)據(jù)庫的常用類。 |
DevExpress.Utils.v13.1.dll | 包括基本工具類和常用的WinForms控件的皮膚。 |
DevExpress.Office.v13.1.Core.dll | 包含了RichEdit、Spreadsheet和Docs套包中共用的實體。 |
DevExpress.RichEdit.v13.1.Core.dll | 包含了多個用于實現(xiàn)富文本格式化的內部類邏輯,也包括了DevExpress RTF、WinForms RichEdit、WPF RichEdit和Silverlight RichEdit等控件的公共API。 |
DevExpress.Printing.v13.1.Core.dll | 包含了用以實現(xiàn)DevExpress基礎打印功能的類庫。 |
DevExpress.Spreadsheet.v13.1.Core.dll | 包含了實現(xiàn)DevExpress Spreadsheet基本功能的類。 |
標簽:
本站文章除注明轉載外,均為本站原創(chuàng)或翻譯。歡迎任何形式的轉載,但請務必注明出處、不得修改原文相關鏈接,如果存在內容上的異議請郵件反饋至chenjj@fc6vip.cn
文章轉載自:慧都控件網(wǎng)