You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
551 B
C#
31 lines
551 B
C#
using System;
|
|
|
|
namespace OfficeHelper
|
|
{
|
|
public class ReportHelper
|
|
{
|
|
protected IImport _import;
|
|
protected IExport _export;
|
|
|
|
public object ImportExcute()
|
|
{
|
|
return _import.excute();
|
|
}
|
|
|
|
public object ExportExcute()
|
|
{
|
|
return _export.excute();
|
|
}
|
|
|
|
public void setImport(IImport import)
|
|
{
|
|
this._import = import;
|
|
}
|
|
|
|
public void setExport(IExport export)
|
|
{
|
|
this._export = export;
|
|
}
|
|
}
|
|
}
|