![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Windows
RabbitLBJ
这个作者很懒,什么都没留下…
展开
-
移植VC6工程到VS时for循环出错解决方案
很早就遇到的一个问题,这次遇到又记不清楚如何解决了,记录一下VC6在处理for循环即没有用C++(99)的标准(太老了),也没有使用的是C(89)的标准,而是自己搞了一个很诡异的标准,导致如下代码居然可以编译通过for(int i = 0;i {....}....for(i = 0;i {...}升级到VS之后自然这种龌龊的写法就行不通了原创 2013-04-09 00:11:35 · 422 阅读 · 0 评论 -
WP7中水平ListBox和TiltEffect的使用
1.ListBox默认是垂直的,如果想实现水平的ListBox,代码如下: <ListBox Name="popupBkgd_listBox" ScrollViewer.HorizontalScrollBarVisibility="Visible" ScrollViewer.Ve原创 2013-04-25 01:55:29 · 441 阅读 · 0 评论 -
在XAML中使用数字类型资源
add to the head of the xamlfilexmlns:System="clr-namespace:System;assembly=mscorlib"Then Add to the resouce section: x:Key="theMargin">2.35Last, use a thickness on the margin: Content="N原创 2013-04-18 00:11:46 · 1037 阅读 · 0 评论