摘要: 阅读全文
posted @ 2015-02-12 22:22 陈意 阅读(152) 评论(0) 推荐(0) 编辑
摘要: using System.Windows; using Microsoft.Practices.Prism.Modularity; using Microsoft.Practices.Prism.UnityExtensions; using Microsoft.Practices.Unity; namespace HelloWorld { public class Bootstrappe... 阅读全文
posted @ 2015-02-12 22:21 陈意 阅读(280) 评论(0) 推荐(0) 编辑
摘要: using System.Windows; namespace HelloWorld { /// /// Interaction logic for App.xaml /// public partial class App : Application { protected override void OnStartup(Startu... 阅读全文
posted @ 2015-02-12 22:10 陈意 阅读(314) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-02-12 22:09 陈意 阅读(155) 评论(0) 推荐(0) 编辑
摘要: IController using Microsoft.Practices.Prism.Events; using Microsoft.Practices.Prism.Regions; using Microsoft.Practices.Unity; namespace SC.UI { public interface IController : ISingletonDependency... 阅读全文
posted @ 2015-02-11 22:21 陈意 阅读(248) 评论(0) 推荐(0) 编辑
摘要: #region 反序列化 /// /// 反序列化 /// /// 类型 /// XML字符串 /// public static object Deserialize(Type type, string xml) { try { using (StringReader sr = new StringReader(xml)) { ... 阅读全文
posted @ 2015-02-08 17:13 陈意 阅读(196) 评论(0) 推荐(0) 编辑
摘要: App.config App.xaml.cs protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); //第一种方式就是用配置文件 配置 string appLang = Configu... 阅读全文
posted @ 2015-01-31 20:48 陈意 阅读(366) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Data; namespace System.Windows.Controls { [ValueConversion(typeof(... 阅读全文
posted @ 2015-01-31 00:58 陈意 阅读(538) 评论(0) 推荐(0) 编辑
摘要: //---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // //--------------------------------------------------... 阅读全文
posted @ 2015-01-31 00:50 陈意 阅读(428) 评论(0) 推荐(0) 编辑
摘要: 测试中文 阅读全文
posted @ 2015-01-17 23:41 陈意 阅读(135) 评论(0) 推荐(0) 编辑