上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 30 下一页
摘要: XCode4.2.1 使用NavigationController实现View切换现在网上有很多关于NavigationController实现页面之间导航,但是大部分都是老版本的实现方式,基于Window base application 模板实现,但新版本XCode 4.2.1没有这个模板,对于新手就算拿到源代码也不知道如何下手。老版本实现的NavigationController项目源代码 但是新版的没有这个模板比如Single view application的项目直接生存ViewController不带Window和 mainWindow.xib文件 修改AppDelegate... 阅读全文
posted @ 2012-02-16 16:56 阿新 阅读(9967) 评论(5) 推荐(6)
摘要: 1.AddInfo *control = [[AddInfo alloc] init]; [self presentModalViewController:control animated:YES]; [control release]; 描述:通过事件进行跳转 [self dismissModalViewControllerAnimated:YES]; 描述:通过事件进行返回。 2.[self.navigationController pushViewController:subTableViewController animated:YES]; 描述:通过 NSNavigat... 阅读全文
posted @ 2012-02-14 16:26 阿新 阅读(772) 评论(0) 推荐(0)
摘要: HKLM\SOFTWARE\Wow6432Node\Microsoft\DevDiv\VS\Servicing\9.0\IDE\1033In that key I noticed the suspicious values:"SP"=dword:00000000 "SPIndex"=dword:00000000 "SPName"="RTM" Without quitting the SQL server installer validaton screen, I changed these values to wh 阅读全文
posted @ 2012-01-30 08:55 阿新 阅读(721) 评论(0) 推荐(0)
摘要: BizTalk开发小技巧-分拆和组装消息实例 场景 对方发出的报文(XML)文件带一个消息头(MessageHeader)对于业务本身只需要消息体的内容(<BodyConent>节点下的内容)。 发给对方的报文同样需要加这个消息头,业务消息放在消息体(<BodyConent>)里面) 下面通过简单Schema定义和Mapping实现对XML消息的分拆和组装。不需要额外开发自定义管道组件或代码。 分拆消息 1定义带消息头的Schema,也可以称是一个Envelope Schema,注意BodyConent下面需要加一个Any Element节点用于表示封装的消息体内容。 阅读全文
posted @ 2011-12-21 16:13 阿新 阅读(1262) 评论(0) 推荐(2)
摘要: publicoverrideintSaveChanges(SaveOptionsoptions){foreach(EntityObjectentityinthis.ObjectStateManager.GetObjectStateEntries(EntityState.Added|EntityState.Modified).Select(entry=>entry.Entity)){//if(entity==null||entityisUser)continue;stringstr=typeof(string).Name;varprops=entity.GetType().GetPrope 阅读全文
posted @ 2011-12-09 10:43 阿新 阅读(357) 评论(0) 推荐(0)
摘要: BizTalk最强大的就是消息的订阅/发布和消息转换(transform-mapping),与不同的业务系统做对接势必会用到mapping这个强大的工具。BizTalk提供了非常丰富的mapping函数(Functoids),满足你对业务的不同需要,实在不行可以用万能的Scripting这个工具。但是处理XML消息的真正胸器是XPath和XSLT如果你精通这2种语言那么对于开发XML将事半功倍,当然也是必须要掌握的。下面用2个小例子说明一下如何在BizTalk mapping过程中使用自定义的XSLT脚本实现复杂mapping。其实通过BizTalk Mapper编辑器拉线的mapping本质 阅读全文
posted @ 2011-12-05 12:16 阿新 阅读(2010) 评论(1) 推荐(2)
摘要: BizTalk开发小技巧-.Net 调用BizTalk Business Rule EngineBizTalk Business Rule Engine:BizTalk业务规则引擎,它的主要功能和特点是在不改变流程,不重新部署工程的情况下,动态的配置策略信息,修改策略逻辑.达到动态的业务配置目的。类似WF的工作原理类似。这次就是讲在.net windows form的应用程序中调用BizTalk Business Rule Engine配置好业务规则。实验的场景: 模拟报销审批的简单示例,报销金额<多少,审批通过。 源代码private void button1_Click(object 阅读全文
posted @ 2011-12-03 09:51 阿新 阅读(2036) 评论(0) 推荐(3)
摘要: 阅读全文
posted @ 2011-10-19 09:41 阿新 阅读(1713) 评论(1) 推荐(1)
摘要: LightSwitch 开发入门什么是LightSwitch简单的说LightSwitch就是一个基于模板的自动化开发Silverlight应用程序的工具,不同于一般的基于数据字典,配置生成的应用程序的工具,因为LightSwtich提供的所有模板都是可以扩展的,自定义开发的,包括页面布局,数据源,使用的控件。非常方便植入.net的代码。LightSwitch是一个被裁剪后的VS产品,用来更容易地进行业务处理(Line of Business,LoB)应用程序的开发。有点类似Access。LightSwitch 提供最简单的方法创建面向云和桌面的商业应用程序。LightSwitch 提供了多种 阅读全文
posted @ 2011-10-06 10:43 阿新 阅读(5812) 评论(6) 推荐(2)
摘要: BTW, the best way to do a conditional color setting in LS beta 2 is to use the new SetBinding method.For example: Me.FindControl("MyControl").SetBinding(TextBox.BackgroundProperty, "Value", New ColorConverter(), BindingMode.OneWay) Public Class ColorConverter Implements IValueCon 阅读全文
posted @ 2011-10-04 18:41 阿新 阅读(693) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 30 下一页