会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Leo's Blog
踏踏实实做自己!
博客园
首页
新随笔
联系
订阅
管理
2012年8月2日
分享一个登陆页的idea
摘要: 闲话不多说直接上图 ps的技术不好 只是说说idea而已用个门卡或者是员工卡做登陆页 上面方式公司的名字和logo 感觉还是很不错的找个好点的美工稍微做下就ok了 呵呵再分享一个metro的界面 感觉很不错 所以先收着
阅读全文
posted @ 2012-08-02 23:23 lhx880619
阅读(630)
评论(0)
推荐(0)
2012年7月1日
WPF中的Bitmap与byte
摘要: public MainWindow() { InitializeComponent(); byte[] b = GetPictureData(@"F:\WPF\TestSolution\TestReatByteFromDB\Images\123.png"); BitmapImage myimg = ByteArrayToBitmapImage(b); this.testImg.Source = myimg; } public byte[] GetPictureDa...
阅读全文
posted @ 2012-07-01 17:25 lhx880619
阅读(2150)
评论(0)
推荐(0)
2012年6月26日
一个wpf异步绑定数据的例子
摘要: DataTable dt = new DataTable("Info"); delegate void BindDataAsync(); GridView gv = new GridView();private void btnLoad_Click(object sender, RoutedEventArgs e) { BeginBindData(); } #region Invoke the Binding Data method asynchorously private void ...
阅读全文
posted @ 2012-06-26 00:12 lhx880619
阅读(2954)
评论(0)
推荐(1)
2012年3月10日
wpf 的缩放和拖拽
摘要: 主要实现的功能是将一个控件内的所有内容进行缩放(本例使用的是一个button和image控件)其实原理也很简单 wpf的viewbox控件可以实现这个功能先上个效果图主要代码<Window x:Class="Zoom.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MainWindow&qu
阅读全文
posted @ 2012-03-10 00:32 lhx880619
阅读(5527)
评论(0)
推荐(0)
2012年2月1日
一个jquery的手风琴效果
摘要: 已经有很多了 这里做个代码备忘<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/htm
阅读全文
posted @ 2012-02-01 21:53 lhx880619
阅读(574)
评论(0)
推荐(0)
2012年1月20日
使用MEF在wpf项目中的上手练习
摘要: This Hands-On Lab comprises the following exercises:Exercise 1: Using MEF to Extend an ApplicationExercise 2: Using Metadata and Lazy-Loading ModulesExercise 3: Using MEF and Silverlight 4跟着练习做下来 应该会有收获
阅读全文
posted @ 2012-01-20 00:06 lhx880619
阅读(2079)
评论(0)
推荐(0)
2012年1月19日
wpf 为window加阴影效果(自定义messagebox)
摘要: <Style x:Key="for_noresize_window" TargetType="{x:Type Window}"> <Setter Property="AllowsTransparency" Value="true"/> <Setter Property="Background" Value="Transparent"/> <Setter Property="FontFamily" Value=&qu
阅读全文
posted @ 2012-01-19 00:09 lhx880619
阅读(4165)
评论(1)
推荐(1)
2012年1月5日
一个不错的软件界面欣赏
摘要: 虽然不是做美工的 但是仍然觉得这个界面做的很不错就分享给大家 希望大家能够喜欢
阅读全文
posted @ 2012-01-05 21:53 lhx880619
阅读(992)
评论(2)
推荐(0)
2012年1月4日
wpf loading 遮罩层效果(可以用在数据加载时使用)
摘要: 一直想做个wpf的loading遮罩效果闲来无事网上看看别人做的 拔下来一个效果 共享给大家 如果有更好的可以告诉我下先上个效果图基本效果就是这样 实现起来也是只有xaml的动画代码如下<UserControl x:Class="Test.LoadingMask" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc=&quo
阅读全文
posted @ 2012-01-04 23:36 lhx880619
阅读(8961)
评论(4)
推荐(0)
2011年12月26日
wpf 一个仿iphone滑动开关
摘要: 今天闲来无事,做个防iphone的滑动开关玩玩,美工底子比较差,不好看大家多多包涵。效果如图,主要是一个dayview和monthview切换的按钮。刚刚学习wpf 所以做的方法可能比较土。闲话不说上代码前台xaml代码<Window x:Class="_20111210_Test.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xam
阅读全文
posted @ 2011-12-26 23:21 lhx880619
阅读(4109)
评论(0)
推荐(0)
下一页
公告