摘要: 在ViewModel中绑定RouteEvent,参考国外的大牛,自娱自乐写了一个。1:XAML 代码<Window x:Class="WpfApplication4.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:local="clr-namespace:WpfApplication4" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml&quo 阅读全文
posted @ 2013-02-12 23:11 qiurideyun 阅读(328) 评论(0) 推荐(0) 编辑
摘要: 所有外包程序员都是菲佣这个开头自娱自乐。今天就发我自己写的WPF DeletegateCommand 类。用于ICommnad的实现using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows.Input;namespace WpfApplication4{ public class DeletegateCommand : ICommand { #region << F... 阅读全文
posted @ 2013-02-12 20:26 qiurideyun 阅读(582) 评论(0) 推荐(0) 编辑
摘要: c# clone Class one:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication2{ class Program { static void Main(string[] args) { DemoClass demoClass = new DemoClass(); demoClas... 阅读全文
posted @ 2013-02-10 19:00 qiurideyun 阅读(438) 评论(0) 推荐(0) 编辑
摘要: 愤怒了,这太不负责了,引入prism 4.1 Microsoft.Practices.Prism.Interactivity.dll动态库,导致了Vs2012的XAML智能提示无效果prism虽然是开源的,最起码要测试吧,这种bug实在是悲剧啊,,,,,,网上各种解决方案,就是没有成功。希望网上的解决方案也负责点,重来都是Copy ,copy,copy,最起码要实际的操作过,才能提出这些解决方案, 阅读全文
posted @ 2013-01-14 00:09 qiurideyun 阅读(758) 评论(4) 推荐(1) 编辑
摘要: 自己写了个很小的c#聊天软件,很多功能未实现,代码需要重写,还有很多bug,先发个初始的,要的话,留下邮箱,我会发送的 阅读全文
posted @ 2012-09-01 10:32 qiurideyun 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 最近一段时间在开发一个聊天小软件,发现客户端第二次接受服务器端信息出现问题,调试了很久也未得结果。无奈之下,就去问我们公司比较牛的人。 他看了我代码,提了很多很中肯的意见,首先,是功能的单一性,界面和逻辑有许多地方混在了一起,我当时也想分开来写,但是为了省点时间久混在一起写,结果发现时间是省了,但是代码的质量确实不行了。 最后,还是不行,我想先重构代码,很有可能是代码问题。 阅读全文
posted @ 2012-08-31 23:38 qiurideyun 阅读(118) 评论(0) 推荐(0) 编辑