06 2012 档案
摘要:Here is a simple and sample code that demonstrate the photo slide function with zoom using uiscrollview.this is the first photoslidingzooming in particular photo1. first drag three photos to your project , size not important .2 viewcontroller.h 's code#import <UIKit/UIKit.h>@interface View
阅读全文
摘要:-(void)viewDidLoad{[superviewDidLoad];[theScrollViewsetContentSize:CGSizeMake(3*theScrollView.bounds.size.width,theScrollView.bounds.size.height)];[theScrollViewsetPagingEnabled:YES];CGRectaFrame=theScrollView.bounds;UIView*view;NSLog(@"Frame:%@",NSStringFromCGRect(aFrame));view=[[UIViewal
阅读全文
摘要:-(void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toOrientationduration:(NSTimeInterval)duration{if(toOrientation==UIInterfaceOrientationLandscapeLeft||toOrientation==UIInterfaceOrientationLandscapeRight){[UIViewbeginAnimations:nilcontext:NULL];{[UIViewsetAnimationDuration:1.0];}[UIVie
阅读全文
摘要:最近公司的主要的数据交换都基于BizTalk完成,现在BizTalk已经成为不可缺少的数据交换核心。利用的就是BizTalk的发布/订阅模式。因此在每个发送端口都要配置消息的属性过滤。每个配置必须手工一个一个的加,非常的繁琐,有时真的把人都搞傻了。后来发现可以直接修改数据就可以实现。因此花了半小时搞了一个BizTalk发送端口属性过滤的配置工具。可以省去不少重复的工作。其功能就是读取BizTalk发送端口的Filters配置参数。其实就是XML,这样就可以直接批量修改,最后在更新回数据库。这样BizTalk的发送端口就可以直接使用了。不知道是否也有人需要这样的功能BizTalkSettingT
阅读全文