提交
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using Interop.UAPvouchercontrol130;
|
||||
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");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user