码迷,mamicode.com
首页 >  
搜索关键字:control point    ( 17589个结果
crash - JNI WARNING: input is not valid modified utf-8: illegal continuation byte
the key point is "Modified UTF-8" is not like "Regular UTF-8", a legal Rgular UTF8 code sequence may be considered illegal against Modified UTF8.One w...
分类:其他好文   时间:2014-05-09 10:51:58    阅读次数:628
另类方法解决设计Web页面出现:Error Creating Control
在B/S开发的过程中,经常会遇到这样的提示:Error Creating Control ,而这些页面明明之前是可以打开的,但还是出现如下图所示:网上找到的方法是把控件初始化放在OnInit里去写,本人试了下,还是会出现的。。。。。最后本人找到了一种另类的方法,把原先的aspx后台类名更改,假如是:...
分类:Web程序   时间:2014-05-09 10:36:34    阅读次数:362
spring知识
Spring以IoC、AOP问主要思想,鞥协同struts,hibernate,webwork,jsf,iBatis等框架。Spring最主要的思想史IoC(Inversion of Control,控制反转)或者称为DI(Dependency Injection,依赖注入)。Spring另一种重要...
分类:编程语言   时间:2014-05-09 04:41:45    阅读次数:416
SICP 习题 (1.35)解题总结
SICP 习题 1.35要求我们证明黄金切割率φ 是变换函数 x => 1+ 1/x 的不动点,然后利用这一事实通过过程fixed-point 计算出φ的值。首先是有关函数的不动点,这个概念须要理解清晰,后面好几道题都是环绕函数不动点展开的。作者在这里设计这些习题的原因也是希望读者能够关注函数不动点...
分类:其他好文   时间:2014-05-09 03:24:39    阅读次数:343
iOS 获取图片某一点的颜色对象(UIColor*)。
- (UIColor *)colorAtPixel:(CGPoint)point {     // Cancel if point is outside image coordinates     if (!CGRectContainsPoint(CGRectMake(0.0f, 0.0f, self.size.width, self.size.height), point)) {...
分类:移动开发   时间:2014-05-09 01:04:12    阅读次数:503
SAP smartforms之Zebra print control language
因为在做个小标签的时候需要将部分字符旋转180度,在scn上找了很久也发布了自己的提问,不过最终的结果却不尽人意。Rotated text in smartforms need use the PCL to control the printer,But part of our printers w...
分类:其他好文   时间:2014-05-08 22:32:20    阅读次数:471
依赖反转(Dependency inversion principle)和控制反转(Inversion of Control)
有两个对象A和B,A some B  是A依赖于B,当B some A的时候是B依赖于A这就叫依赖反转; 这种依赖关系如果让程序员自己控制(new 对象),就会出现高耦合,控制反转(依赖注入)就是让这种依赖关系由第三方管理(eg:spring)而不是程序员自己管理。...
分类:其他好文   时间:2014-05-08 16:05:17    阅读次数:288
在创建窗口句柄之前,不能在控件上调用 Invoke 或 BeginInvoke
在用Control. BeginInvoke 方法 更新UI时,需要验证两个前提: 1,Control==null 否则会引发null引用,比较明显的错误 2,DataGridView.IsHandleCreated==true 否则会引发“在创建窗口句柄之前,不能在控件上调用 Invoke 或 B...
分类:其他好文   时间:2014-05-08 15:29:28    阅读次数:331
十一周 项目4 类族的设计
#include #include using namespace std; class Point { public: Point(double x=0,double y=0); void setPoint(double,double); double getx() { return x; } double gety() ...
分类:其他好文   时间:2014-05-08 04:44:47    阅读次数:237
十一周 项目4 类族的设计 完整版
#include #include using namespace std; class Point { public: Point(double x=0,double y=0); void setPoint(double,double); double getx() { return x; } double gety() ...
分类:其他好文   时间:2014-05-08 03:42:17    阅读次数:273
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!