Windows Mobile:如何突出显示datagrid中的行和编译延迟 [英] Windows Mobile: how to highlight row in datagrid and compilation delays
问题描述
我有两个Windows移动问题:
-
如何突出显示datagrid中的行(运行任何查询后)? / p>
-
为什么在编译20-30之后,编译需要6-7分钟(第一次需要1分钟)?
提前感谢
对于#1,请查看Ilya Tumanov的例子 DataGrid中的自定义格式化数据。他做了定制的细胞绘画。这就是你如何突出显示一行。
对于#2,你的环境有问题。我没有看到这个或听说过它报告,我一直在使用Studio开发CF应用程序一段时间,在一个运行中有超过10-30个编译。我的猜测是你有一个网络驱动器映射。取消映射,看看是否有任何改变(虽然6-7分钟真的很令人发指)。另外,如果您正在使用具有大量项目的解决方案,那么您应该有一个单一的输出目录,而不是每个项目都有自己的输出目录,并且在所有引用上将CopyLocal设置为false。这有助于将磁盘访问duriong构建到最小。
I have two Windows mobile questions:
how to Highlight row in datagrid (after i run any query) ?
why after 20-30 compilation, it takes for 6-7 minutes to compile (the first time takes 1 minute)?
Thanks in advance!
For #1, take a look at Ilya Tumanov's example of custom formatting data in the DataGrid. He does custom painting of cells in it. THis is how you'd "highlight" a row.
For #2, there's something wrong with your environment. I've not seen this or heard it reported and I've been using Studio for developing CF apps for a while now, with well over 10-30 compiles in a run. My guess is you have a network drive mapped. Unmap it and see if anything changes (though 6-7 minutes is really heinous). Also, if you're using a solution with a lot of projects, you should have a single output directory for everything instead of each project having their own, and set CopyLocal to false on all the references. This helps keep disk access duriong build to a minimum.
这篇关于Windows Mobile:如何突出显示datagrid中的行和编译延迟的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!