随笔分类 -  WPF,C#,.net,SilverLight

摘要:VS低版本打开高版本创建的项目时会提示"选择的文件是解决方案文件,但是用此应用程序的较新版本创建的,无法打开"解决办法:写字板打开解决方案sln文件将其改成当前使用的VS版本即可vs2010改为:Microsoft Visual Studio Solution File, Format Versio... 阅读全文
posted @ 2015-05-20 22:19 不是少年也游荡 阅读(349) 评论(0) 推荐(0)
摘要:1.修改字体颜色//修改字体颜色SolidColorBrush brushred = new SolidColorBrush();//创建对象brushred.Color = Colors.Red;//调用方法2.注册事件和消息传递Messenger.Default.Register(this, "... 阅读全文
posted @ 2015-05-20 22:17 不是少年也游荡 阅读(160) 评论(0) 推荐(0)
摘要:XmlConfig.csnamespace Model{ [ Serializable] public class XmlConfig { [ XmlElement] public List Class1; [ XmlElement] ... 阅读全文
posted @ 2015-05-20 22:07 不是少年也游荡 阅读(195) 评论(0) 推荐(0)
摘要://属性回显protected void OnPropertyChanging(string PropertyName){ if(PropertyChanging!=null) { PropertyChanging(this,new PropertyChangingEve... 阅读全文
posted @ 2015-05-20 21:59 不是少年也游荡 阅读(212) 评论(0) 推荐(0)
摘要:1在全局App.xaml文件中声明在标记中添加2在TableStyle.xaml文件的标记中加入 1 2 3 7 8 3在前台页面.xaml文件中绑定数据源在标记中添加即为1 阅读全文
posted @ 2014-05-25 23:59 不是少年也游荡 阅读(1546) 评论(0) 推荐(0)