摘要: 方法1: 该方法通过将图片转化为用于几何变换的3x3矩阵 对图片进行旋转。 缺点:有时图片会越转越模糊。 方法2: 通过操作Graphics进行图像旋转,使用时需要注意图片是按原始大小进行居中旋转 PictureBox的SizeMode属性对这种方法无效。 阅读全文
posted @ 2016-03-30 13:02 Mr.Owl 阅读(8056) 评论(8) 推荐(2) 编辑
摘要: 问题:Undefined symbols for architecture x86_64: ld: symbol(s) not found for architecture x86_64 问题原因:所用的库不支持 X86_64架构 解决方法:在Target —> BuildSetting —> Ar 阅读全文
posted @ 2016-03-30 11:23 Mr.Owl 阅读(6541) 评论(0) 推荐(0) 编辑
摘要: 问题1:Type 'JDBYSJ.Data.NewsChannel' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members 阅读全文
posted @ 2016-03-30 10:59 Mr.Owl 阅读(565) 评论(0) 推荐(0) 编辑
摘要: 1.this.Close(); 关闭窗体,如果关闭的是主窗体 程序结束。2.Application.Exit(); 退出所有的窗体但是如果有托管线程的话无法完全退出3.Application.ExitThread(); 强制终止调用线程的消息,同样有托管线程无法完全退出4.System.Environment.Exit(0); 最彻底的退出程序的方法 ,退出的很干净 阅读全文
posted @ 2016-03-30 10:50 Mr.Owl 阅读(677) 评论(0) 推荐(0) 编辑