using DevExpress.Persistent.Base;
using System;
// ...
public class CurrentMonthParameter : ReadOnlyParameter {
public CurrentMonthParameter() : base("CurrentMonth", typeof(int)) { }
public override object CurrentValue {
get {
return DateTime.Now.Month;
}
}
}
posted @ 2012-02-01 16:56 EricLi 阅读(10) 评论(0)
编辑