ab56a9bcf7
SVN-Revision: r240
54 lines
1.3 KiB
C#
54 lines
1.3 KiB
C#
using Lskj.Business;
|
|
using Lskj.Util;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Windows.Forms;
|
|
|
|
namespace Lskj.PubInvoiceOut
|
|
{
|
|
/// <summary>
|
|
/// c#库被调用统一接口类
|
|
/// </summary>
|
|
public sealed class DllBaseClass : IForm
|
|
{
|
|
public DllBaseClass()
|
|
{
|
|
|
|
}
|
|
public DllBaseClass(string[] obj)
|
|
{
|
|
try
|
|
{
|
|
FrmMain main = new FrmMain();
|
|
this.SubForm = main;
|
|
if (obj.Length > 5)
|
|
{
|
|
main.MainSourceSql = obj[5];
|
|
}
|
|
if (obj.Length > 6)
|
|
{
|
|
main.DetailSourceSql = obj[6];
|
|
}
|
|
if (obj.Length > 7)
|
|
{
|
|
main.PrimaryValue = obj[7];
|
|
}
|
|
if (obj.Length > 8)
|
|
{
|
|
main.InvoiceTag = obj[8];
|
|
}
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
LogUtil.WriteError("Lskj.PubFingerPrint.dll--参数错误-->" + obj.ToString(), ex);
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// 窗口
|
|
/// </summary>
|
|
public Form SubForm { get; set; }
|
|
}
|
|
}
|