代码改变世界

Change the ICON of your website in favorite,address and shortcut bars

2012-12-21 14:07 by craystall, 283 阅读, 0 推荐, 收藏, 编辑
摘要:1:make a .ico image and name it as "favicon.ico", and then put it to the root directory of the application. Notes:It applies to all browsers' address icon and favorite icon 2:do some changes to the <head> >> IE/Firefox address bar< link rel="icon" href="fa 阅读全文

How to get all the information required by "AboutDialog".

2012-08-08 15:09 by craystall, 175 阅读, 0 推荐, 收藏, 编辑
摘要:Usually, while designing a desktop application, we need a "AboutDialog" to show the product information, such as "Product Name", "Version" etc. Here are the code about it:1. Get Assembly Title View Code 1privatestringAssemblyTitle2{3get4{5object[]attributes=Assembly.Get 阅读全文

The Long Grind Before You Become an Overnight Success

2011-10-07 21:33 by craystall, 213 阅读, 0 推荐, 收藏, 编辑
摘要:“So, what do you do?”Ugh. I hated that question.The truth was that we were trying to start a new venture but we hadn’t really made any progress.But, instead of just muttering something, I would force myself to enthusiastically pitch our current struggling idea. They would nod along but the skeptici. 阅读全文

Scales for Open Street Map Zoom Levels (Useful)

2010-07-22 23:06 by craystall, 442 阅读, 1 推荐, 收藏, 编辑
摘要:zoom level=1 scale_denom=279541132.014zoom level=2 scale_denom=139770566.007zoom level=3 scale_denom=69885283.0036zoom level=4 scale_denom=34942641.5018zoom level=5 scale_denom=17471320.7509zoom level... 阅读全文

How to check if the silverlight application is in design mode?

2010-04-15 11:57 by craystall, 349 阅读, 1 推荐, 收藏, 编辑
摘要:As a siverlight control developer, it's very important to know when the silverlight control is in design mode, and then we can design the beautiful design skin for our control. Here is a part of tips:... 阅读全文

Real TFS Command Line Help

2008-10-28 17:35 by craystall, 743 阅读, 1 推荐, 收藏, 编辑
摘要:COMMANDSAdd tf add itemspec [lock:none|checkin|checkout] [/type:filetype] [/noprompt] [/recursive]Branch tf branch olditem newitem [/version:versionspec] [/noget] [/lock] [/noprompt] [/recursive]Bran... 阅读全文

OpenLayers 中选取VirtualEarth做BaseLayer出现切换后不能显示的问题

2008-07-03 23:03 by craystall, 604 阅读, 0 推荐, 收藏, 编辑
摘要:在OpenLayers2.6中,设置背景图片为Wms(或google,WorldWind等),与VirtualEarth搭配使用,并将其中之一作为BaseLayer,出现以下情况:一.如果设置VirtualEarth为默认显示背景,则在初始浏览页面时,VirtualEarth正常显示,但是通过LayerWitcher切换后,再切换到VirtualEarth,则出现VirtualEarth无法显示。... 阅读全文

(转)Silverlight 2 Beta2新功能体验

2008-06-18 23:29 by craystall, 256 阅读, 0 推荐, 收藏, 编辑
摘要:Beta2加了许许多多的新功能(下面有更多细节),但下载大小仍只有4.6MB大,在机器上安装所花时间少于10秒,不用安装.NET框架或其他任何软件就可以工作,所有的功能在Mac和Windows机器上都能跨浏览器工作,这些功能在Linux上将由Moonlight 2提供。Silverlight 2 Beta2支持一个go-live许可,它允许你开始使用和部署Silverlight 2于商业应用中。在... 阅读全文
点击右上角即可分享
微信分享提示