最新评论
谢小漫 2010-06-04 09:44
我最近(一两个星期前开始)也在弄gis的东西,用google map来弄,挺好。
想到用google map结合sharpmap来弄,过两天弄个demo出来。
解决基本的东西先。
blackcore 2010-04-30 14:37
包子,好好干。
我是非常看好你这个兄弟,做人做事都认真仔细,知道轻重缓急,成大气之人,我顶!
阳光总在风雨后,加油!
包子,你奔三还远着呢,古语都“三十而立”呢,现在和媳妇好好规划规划,我很看好你哦!
sun8134 2010-04-21 10:10
matlab
opencv
变灰应该还是挺简单的
(肯定还有其他方法,上学的时候用过这俩,毕业后就没再做过图像处理类的东西了...)
汤包 2009-11-27 18:24
[code=csharp]
/// <summary>
/// 分页方法
/// by jt 2008-05-22
/// </summary>
/// <param name="query">未分页的Iquery</param>
/// <param name="pageIndex">当前页索引</param>
/// <param name="pageSize">页面大小(记录数)</param>
/// <param name="RecordCount">返回参数 out 总记录数</param>
/// <returns>分页后的数据源</returns>
public static IQuery pager(IQuery query, int pageIndex, int pageSize, out int RecordCount)
{
RecordCount = query.List().Count;//总记录数
query.SetFirstResult(pageSize * (pageIndex - 1));//当前行数
query.SetMaxResults(pageSize);//页面大小
return query;
}
另外一个是枚举
public enum SaveType
{
Add,
Update,
SaveOrUpdateCopy,
}
//custom异常处理的你可以注释掉,或者换成你自己的异常处理方法。
[/code]
过客! 2009-11-27 18:12
这个类里用了一些其他的类,例如CustomException、SaveType;
还有一个pager函数;
可是代码里都没有看到。
能不能发个全的?或者打个包下载也好!
包子汤 2009-11-27 10:23
@李霞
Legend Template
The LegendBox.Template property takes a series of tokens which define the columns of each entry. These tokens can be tokens specific to the object the entry represents or properties of the legend entry (Name, Value, and Icon).
Consider the following code.
[C#]
SeriesA.DefaultElement.CustomAttributes.Add("SeriesDescription","Data Provided by Group A.");
Chart.LegendBox.DefaultEntry.CustomAttributes.Add("EntryCustom","(Max: /%Maximum Min: /%Minimum)");
Chart.LegendBox.Template = "%Name%Icon%Value%EntryCustom%SeriesDescription%YAverage";
应该是可以的,一年多了都忘记了,你可以查下官方文档

