天大药业
This commit is contained in:
23
K3CExttensionMethods/ListHeaderExtension.cs
Normal file
23
K3CExttensionMethods/ListHeaderExtension.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using Kingdee.BOS.Core.List;
|
||||
using Kingdee.BOS.Orm.DataEntity;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace K3CExttensionMethods
|
||||
{
|
||||
public static class ListHeaderExtension
|
||||
{
|
||||
public static ListHeader SetHeader(this ListHeader thiObj, Func<ListHeader, ListHeader> func)
|
||||
{
|
||||
return func(thiObj);
|
||||
}
|
||||
|
||||
public static ListHeader SetWidth(this ListHeader thiObj,int width)
|
||||
{
|
||||
thiObj.Width = width;
|
||||
return thiObj;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user