响应按钮控件的函数:ButtonClick原创
170次浏览
编辑于2024年01月20日 09:00:50
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System; using System.Collections.Generic; using System.Linq; using System.Text; using Kingdee.BOS.Core.Bill.PlugIn; using Kingdee.BOS; using System.ComponentModel; using Kingdee.BOS.Core.DynamicForm; using Kingdee.BOS.Core.DynamicForm.PlugIn; using Kingdee.BOS.Core.DynamicForm.PlugIn.Args; using Kingdee.BOS.Util; using System.ComponentModel; using Kingdee.BOS.DataEntity; using Kingdee.BOS.Orm.Metadata.DataEntity; using Kingdee.BOS.Orm.DataEntity; using System.Data; using System.IO; namespace Button_kingdee { [Description("测试一个表头的按钮")] public class Class1 : AbstractBillPlugIn { public override void ButtonClick(ButtonClickEventArgs e) { if (e.Key == "F_XLJR_Button_83g") { this.View.ShowMessage("ButtonClick "+e.Key); } } } }
插件类型:表单插件
推荐阅读