11 2012 档案

摘要:见过迅雷7右边广告的关闭按钮,鼠标移上去的话有个旋转90度的效果,感觉挺酷的,于是用WPF也实现了一下。很简单,定义几行XAML就搞定了。WPF做这种效果还是很好使的~~用SL封装了个效果:<ImageWidth="20"Height="20"Source="image\close.png"ToolTip="关闭"Opacity="0.5"Canvas.Left="720"Canvas.Top="3"MouseLeftButtonDown=" 阅读全文
posted @ 2012-11-26 23:53 Agile.Zhou 阅读(2465) 评论(2) 推荐(1) 编辑
摘要:WPF的MessageBox太丑了,自己定义了一个。这是效果:XAML:<Windowx:Class="AgileToDo.UMessageBox"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"Title="UMessageBox"Height="130"Width="280"Wi 阅读全文
posted @ 2012-11-22 02:24 Agile.Zhou 阅读(6341) 评论(6) 推荐(1) 编辑
摘要:使用NuGet添加下面3个引用:App.Config的<entityFramework>节点这样配置: <entityFramework> <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlCeConnectionFactory, EntityFramework"> <parameters> <parameter value="System.Data.SqlServerCe.4.0" /> </para 阅读全文
posted @ 2012-11-21 02:53 Agile.Zhou 阅读(1254) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示
主题色彩