上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 18 下一页
摘要: 构造函数参数初始化InjectionConstructorIContainer.RegisterType(new InjectionConstructor("Param1", new Class()));注册的时候已经对构造函数参数进行了初始化,调用的时候我们想更换原先注册的值ParameterOverride和ParameterOverridesParameterOverride是针对一个参数ParameterOverrides是针对参数列表对构造函数有两个参数的类进行注册,第一个参数是字符串,第二个参数是类IContainer.Resolve(new Parameter 阅读全文
posted @ 2014-02-28 17:52 zhh 阅读(677) 评论(0) 推荐(0)
摘要: TO_DATE(SUBSTR(TO_CHAR('#'),1,19),'yyyy-mm-dd hh24:mi:ss') 阅读全文
posted @ 2014-01-29 10:35 zhh 阅读(311) 评论(0) 推荐(0)
摘要: map.setExtent(map.extent)map.resize(map.bounds.width,map.bounds.height); Resize Map Width Height Left Top 阅读全文
posted @ 2013-12-11 17:53 zhh 阅读(1563) 评论(0) 推荐(0)
摘要: 更改标记内href="服务器Silverlight.exe文件路径"标记内Src="服务器sownload.jpg文件路径 阅读全文
posted @ 2013-11-29 11:40 zhh 阅读(179) 评论(0) 推荐(0)
摘要: dbms_mview.refresh('表名', 'F') --快速刷新,增量刷新 dbms_mview.refresh('表名', 'C') --完全刷新建立存储,然后通过C#调用CREATEOR OR REPLACE PROCEDURE REFRESH_MV ASBEGIN DBMS_MVIEW.REFRESH('视图名称','C');END REFRESH_MV; 阅读全文
posted @ 2013-09-25 11:45 zhh 阅读(531) 评论(0) 推荐(0)
摘要: /// /// 渐变算法 /// /// 位图源(物理路径) /// 起点色(HTML格式) /// 终点色(HTML格式) /// 保存图片路径(物理路径) public static void LinearGradient(string sourceImg, string destinationImg, string colorHead, string colorTail) { using (Image img = Image.FromFile(sourceImg)) { int width = img.Width; RGB colorBegin = RGB.Split(colorHe.. 阅读全文
posted @ 2013-09-18 10:56 zhh 阅读(1599) 评论(0) 推荐(0)
摘要: However the Intersect API returns all geometries in the same order than the input geometries (the geometries that don't intersect having a null extent).So you should be able to retrieve the attributes from the input graphics. 阅读全文
posted @ 2013-09-03 09:52 zhh 阅读(287) 评论(0) 推荐(0)
摘要: Silverlihgt: Deployment.Current.Dispatcher.BeginInvoke wpf: App.Current.Dispatcher.Invoke 阅读全文
posted @ 2013-07-17 11:10 zhh 阅读(328) 评论(0) 推荐(0)
摘要: You can get thePlotAreain theChartArea.Loadedevent by the extension methodChildrenOfType(). In order to use this extension, you need to include namespace reference toTelerik.Windows.Controls. After that you can attach MouseEnter and MouseLeave handlers to the PlotArea. For example:private void Chart 阅读全文
posted @ 2013-07-11 20:09 zhh 阅读(323) 评论(0) 推荐(0)
摘要: System.Web.Hosting.HostingEnvironment.MapPath("~"); 阅读全文
posted @ 2013-07-02 09:58 zhh 阅读(108) 评论(0) 推荐(0)
摘要: 有如下类型的映射对照:System.Data.SqlClient.SqlDbTypeSystem.Data.OleDb.OleDbTypeSystem.Data.Odbc.OdbcTypeSystem.Data.OracleClient.OracleType格式:DbType.枚举名(枚举值)=DbType.枚举名(枚举值)===========System.Data.SqlClient.SqlDbType=========System.Data.SqlClient.SqlDbType.BigInt(0)=System.Data.DbType.Int64(12)System.Data.SqlC 阅读全文
posted @ 2013-06-01 10:10 zhh 阅读(6322) 评论(0) 推荐(2)
摘要: 转载:http://blog.csdn.net/linghe301/article/details/7102447关于这个内容,其实从ArcSDE9.2推出ST_Geometry就让用户感到很有吸引力,而且特别是在ArcSDE9.3之后,用户使用SQL操作ST_geometry越来越多,但是在配置Oracle监听来说总是碰到这样那样的问题,以下就是总结一下配置 Oracle 侦听器来使用SQL操作ST_Geometry 。首先说明一下:如果你的ArcSDE版本是9.2最好不要使用这种方式,因为Bug也是比较多的。例如:http://support.esri.com/en/knowledgeba 阅读全文
posted @ 2013-04-09 10:32 zhh 阅读(630) 评论(0) 推荐(0)
摘要: Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(BeginRequestHandler); Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler); function BeginRequestHandler(sender, args) { var elem = args.get_postBackElement(); }function EndRequestHandler(sender, args) { } 阅读全文
posted @ 2013-04-07 09:19 zhh 阅读(240) 评论(0) 推荐(0)
摘要: 根据某水文现象的统计特性,利用现有水文资料,分析水文变量设计值与出现频率(或重现期)之间的定量关系的工作过程称为水文频率计算。 自然界的现象按发生情况可分成:必然事件,即在一定条件下必然会发生的事情,如降雨以后就要涨水是必然发生的;不可能事件,即在各条件实现之下永远不会发生的事情,如只在重力作用下的水由低处向高处流是不可能的;随机事件(也称偶然事件),即在一定条件下可能发生也可能不发生的事件,如每条河流每年出现一个流量的年最大值是必然的,但这个最大值可能是这个值也可能是那个值,它在数量上的出现是一种随机事件。频率计算中是以1来表示必然事件出现的可能性(即百分之百出现),以0表示不可能事件出现的 阅读全文
posted @ 2013-03-21 11:03 zhh 阅读(2579) 评论(0) 推荐(0)
摘要: 使用:RelativeSource={RelativeSource AncestorType=sdk:DataGrid} 阅读全文
posted @ 2013-03-06 19:04 zhh 阅读(103) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 18 下一页