資源簡介
大量文檔打印前,統計word和Excel的頁數
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Text;
using?System.Windows.Forms;
using?System.IO;
using?Excel?=?Microsoft.Office.Interop.Excel;
using?Word?=?Microsoft.Office.Interop.Word;
using?System.Runtime.InteropServices;
using?System.Threading;
using?Office?=?Microsoft.Office.Core;
using?System.Reflection;
namespace?QQTools
{
????public?partial?class?FrmPagesStatistics?:?Form
????{
????????private?PageSizes?m_PageSize;
????????List>?table?=?new?List>();
????????
????????public?delegate?void?RefreshStatusDelegate(string?status?int?maximum?int?inc?string?progress);
????????public?delegate?void?ChangeButtonStateDelegate(Button?owner?bool?state);
???
- 上一篇:log4net使用
- 下一篇:C# POP3接收郵件程序
評論
共有 條評論