摘要: UI调度:public class Dispatcher : Handler { public override void HandleMessage(Message msg) { var ai = msg.Obj as ActionItem; if (ai != null) { try { ai.Result = ai.d.DynamicInvoke(ai.args); } catch (TargetInvocationException e) { ai.Error = e.InnerException; } catch (Exception e) { ai.Error = e; } if. 阅读全文
posted @ 2012-10-23 14:30 静艳 阅读(860) 评论(0) 推荐(0) 编辑