2010年12月5日

第二章:C#基础(c#高级编程 第6版)(未完)

摘要: 1. 除了使用VS编译C#源文件,还可以使用CSC.exe编译器编译。最方便的办法是运行 开始-程序-VS- VS Tools- VS command prompt在目录下运行: csc fileName.cs 或者在配置了相应的环境变量后在cmd窗口运行上述命令 如果要将文件编译成dll: csc /t:library fileName.cs 如果要在编译的时候引入dll: csc fileName.cs /r:dllName.dll2. C#变量名区分大小写3. C#把“未初始化变量”当做错误来处理变量是类或者结构中的字段,如果没有显示初始化,创建这些变量时,会总动初始化默认值 阅读全文

posted @ 2010-12-05 20:08 I过T 阅读(328) 评论(0) 推荐(0) 编辑

2010年11月29日

WPF程序设计指南:Style

摘要: 详解WPF中的Style 阅读全文

posted @ 2010-11-29 16:28 I过T 阅读(2012) 评论(0) 推荐(0) 编辑

2010年11月25日

Todo List

摘要: Item Priority值 重要性 紧急度 难易度 IsStartProgress IsEndSelfTest about 70511 14112 Y8% N整理inputTest,写blog25221N 0% N时间管理及其工具252 1 2 N 0% N熟悉Prism 2 6 1 23 N 0% N学习WPF中的Stly ,写blog 26 222Y70% N学习WPF中的Source... 阅读全文

posted @ 2010-11-25 16:43 I过T 阅读(231) 评论(0) 推荐(0) 编辑

2010年11月23日

WPF: 使用TestApi模拟用户输入

摘要: 介绍模拟用户输入的一些方式,以及TestApi在WPF中的应用方法 阅读全文

posted @ 2010-11-23 11:05 I过T 阅读(1016) 评论(0) 推荐(2) 编辑

2010年11月22日

WPF Controls – input interactions

摘要: Plan: Area: Controls Title: Controls – input interactionsScenario:1. Repeated interactions with controls2. Use mouse, keyboard, touch, stylus, UI Automation Stress Attack Point:Any leaks in hand... 阅读全文

posted @ 2010-11-22 18:07 I过T 阅读(489) 评论(0) 推荐(0) 编辑

2010年11月17日

WPF Rendering 3(硬件加速、软件加速)之:Performance profiling-Perforator

摘要: 第三天(11/17/2010)step 3: Practice1. 找一个Animation的demo(要求绚一点的,像素丰富,并将动画速度调快,以提高画面显示难度),在其中加入一个计时器,每隔一段时间修改当前进程的RenderOptions.ProcessRenderMode, 代码如下:[代码]2. 运行以上函数,并运行windows sdk 中的的工具:Performance profili... 阅读全文

posted @ 2010-11-17 19:12 I过T 阅读(1941) 评论(0) 推荐(0) 编辑

2010年11月16日

WPF Rendering 2(硬件加速、软件加速)

摘要: 第二天(11/16/2010)step 2: abstract1. RenderCapability 类:Enables WPF applications to query for the current rendering tier for their associated Dispatcher object and to register for notification of changes... 阅读全文

posted @ 2010-11-16 15:28 I过T 阅读(2308) 评论(0) 推荐(0) 编辑

2010年11月15日

WPF Rendering 1(硬件加速、软件加速)

摘要: Plan:Area: Graphics Title: Rendering Scenario:1. Use software rendering2. Use hardware rendering3. IterateStress Attack Point:Memory leak – Graphics rendering leaking Failure: Out of memoryEstim... 阅读全文

posted @ 2010-11-15 17:56 I过T 阅读(3743) 评论(0) 推荐(0) 编辑

2010年9月27日

About Polymorphism(转)

摘要: 一.什么是多态(Polymorphism) 多态(Polymorphism)是面向对象(Object-Oriented,OO)思想"三大特征"之一,其余两个分别是封装(Encapsulation)和继(Inheritance)--可见多态的重要性。或者说,不懂得什么是多态就不能说懂得面向对象。 态是一种机制、一种能力,而非某个关键字。它在类的继承中得以实现,在类的方法调用中得以体现。先让我们看看M... 阅读全文

posted @ 2010-09-27 16:19 I过T 阅读(283) 评论(0) 推荐(0) 编辑

2010年9月15日

托管执行过程(总结自MSND)

摘要: 原文:Managed Execution Process http://msdn.microsoft.com/en-us/library/k5532s8a.aspx执行托管代码的过程包括下列步骤:选择编译器。为获得公共语言运行时提供的优点,必须使用一个或多个针对运行时的语言编译器。将代码编译为 MSIL。编译将源代码翻译为 Microsoft 中间语言 (MSIL) 并生成所需的元数据。将 MSI... 阅读全文

posted @ 2010-09-15 16:46 I过T 阅读(379) 评论(0) 推荐(0) 编辑

导航