每次制作iOS应用图标都需要制作10来个不同尺寸,是不是很麻烦;当然更麻烦的是每次修改以后都需要重新另存这些不太的尺寸和名称;要是偶尔不小心名字和尺寸弄岔了,还会造成不必要的错误。 PhotoShop的动作功能可以很好的解决这个问题,我们可以录制一个动作,把1024*1024的Icon自动修改为不同的大小同时保存为不同的名称。每次只修改1024的图标然后一个动作执行下拉全部更新。 1、打开一张1024*1024的icon图片,合并所有图层,避免改变大小以后边框和投影没有缩放。 2、打开动作面板,窗口》动作 ... Read More
posted @ 2013-01-12 13:20 Peter Zhan Views(1807) Comments(0) Diggs(0) Edit
今天朋友公司的V8又出异常了,在他们眼里程序员是万能的~~虽然在上班还是得帮忙解决,没办法只能通过QQ远程解决了。这个问题之前帮他们解决过,方法就是:1、Microsoft SQL Server-企业 管理器;2、use Ufsystem3、清除单据锁定 delete LockVouch delete GL_mccontrol4、清除异常任务 delete ua_task delete ua_tasklog蛋疼的是远程过去一看是个XP系统,没有安装Microsoft SQL Server-企业 管理器,很郁闷~下载和安装企业管理器是很费劲的,最终通过osql完成;1、cmd (在开始-... Read More
posted @ 2013-01-08 11:02 Peter Zhan Views(333) Comments(0) Diggs(0) Edit
配额制方法: <isNotEmpty prepend="AND" property="resIds"> res_id in <iterate property="resIdsLong" open="(" close=")" conjunction="," > #resIdsLong[]# </iterate> </isNotEmpty> 效果如:(也... Read More
posted @ 2010-07-16 14:43 Peter Zhan Views(309) Comments(0) Diggs(0) Edit
<UserControl xmlns:controlsToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit" x:Class="HichinaMeetingShow.UI.MainPage" xmlns="http://schemas.microsoft.com/wi... Read More
posted @ 2010-04-20 22:08 Peter Zhan Views(281) Comments(0) Diggs(0) Edit
1. Borders <Border Margin="25" Background="LightYellow"BorderBrush="SteelBlue" BorderThickness="8" CornerRadius="15"><Button Margin="10 Content="Click Me"></Button></Border> 2.... Read More
posted @ 2010-04-13 23:36 Peter Zhan Views(423) Comments(0) Diggs(0) Edit
1. One-Way Binding FontSize="{Binding ElementName=sliderFontSize, Path=Value}" 2. Two-Way Binding book mark:98 Read More
posted @ 2010-04-13 23:08 Peter Zhan Views(169) Comments(0) Diggs(0) Edit
前段时间由于需要,找到了bugtracker.net; 从功能上来讲很不错的;对于代码的整洁性确实不敢恭维~~!! 试用了一段时间感觉比较小巧灵活,由于要开放给别人用现需要讲E文翻译一下; 我主要翻译了两个开放出来的常用的页面:/bugs.aspx 和 /edit_bug.aspx 1、 页头logo在 custom/custom_logo.html 自己进去修改;改完之后需要重启网站才能生效... Read More
posted @ 2010-04-11 12:40 Peter Zhan Views(1755) Comments(4) Diggs(1) Edit
1. The Resources Collection2.The Hierarchy of Resources3. Application.Resources4.Accessing Resources in Code5. Organizing Resources with Resource DictionariesBook Mark:93 Read More
posted @ 2010-04-11 11:19 Peter Zhan Views(363) Comments(0) Diggs(0) Edit
3.1. XAML Basics---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Read More
posted @ 2010-04-11 11:11 Peter Zhan Views(266) Comments(0) Diggs(0) Edit
1.Creating a Stand-Alone Silverlight Project 2.Creating a Simple Silverlight Page 3. Adding Event Handling Code3.1 You can also connect an event with code. The place to do it is the constructor for y... Read More
posted @ 2010-04-11 10:38 Peter Zhan Views(241) Comments(0) Diggs(0) Edit