29 lines
761 B
C#
29 lines
761 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Runtime.InteropServices;
|
|
using System.Text;
|
|
using Interop.UAPvouchercontrol85;
|
|
using Microsoft.VisualBasic;
|
|
|
|
namespace VoucherPlugTest
|
|
{
|
|
[Guid("D6C73518-AA4C-49B8-8568-31ACBCD62732")]
|
|
[ClassInterface(ClassInterfaceType.None)]
|
|
public class TestClass
|
|
{
|
|
[DispId(5)]
|
|
public void AfterRunSysCommand(object objLogin, object objForm, object objVoucher, string sKey, object VarentValue, ref bool Cancel, string other)
|
|
{
|
|
var oVoucher = objVoucher as ctlVoucher;
|
|
|
|
var dom = oVoucher?.GetHeadDom();
|
|
|
|
var aa = Information.TypeName(objForm);
|
|
|
|
|
|
dom?.save(@"D:\AP_Note.xml");
|
|
}
|
|
}
|
|
}
|