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 on 2012-02-01 16:56  EricLi  阅读(233)  评论(0编辑  收藏  举报