摘要: 方法A:Action f = () => { txtProcess.Text = "开始更新程序..."; };方法B: this.Dispatcher.Invoke((Action)delegate { this.loginBusyIndicator.IsBusy = false; loginIm... 阅读全文
posted @ 2014-04-25 19:31 长白山 阅读(536) 评论(0) 推荐(0)
摘要: TimeSpan 是结构类型(struct),即值类型,可以通过两个DateTime(struct)之差来获得,如下例子:DateTime departure = new DateTime(2010, 6, 12, 18, 32, 0);//DateTimeDateTime arrival = ne... 阅读全文
posted @ 2014-04-25 19:22 长白山 阅读(318) 评论(0) 推荐(0)