摘要: 闲话不多说直接上图 ps的技术不好 只是说说idea而已用个门卡或者是员工卡做登陆页 上面方式公司的名字和logo 感觉还是很不错的找个好点的美工稍微做下就ok了 呵呵再分享一个metro的界面 感觉很不错 所以先收着 阅读全文
posted @ 2012-08-02 23:23 lhx880619 阅读(621) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(2140) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(2934) 评论(0) 推荐(1) 编辑
摘要: 主要实现的功能是将一个控件内的所有内容进行缩放(本例使用的是一个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 阅读(5483) 评论(0) 推荐(0) 编辑
摘要: 已经有很多了 这里做个代码备忘<!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 阅读(565) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(2074) 评论(0) 推荐(0) 编辑
摘要: <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 阅读(4125) 评论(1) 推荐(1) 编辑
摘要: 虽然不是做美工的 但是仍然觉得这个界面做的很不错就分享给大家 希望大家能够喜欢 阅读全文
posted @ 2012-01-05 21:53 lhx880619 阅读(977) 评论(2) 推荐(0) 编辑
摘要: 一直想做个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 阅读(8703) 评论(4) 推荐(0) 编辑
摘要: 今天闲来无事,做个防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 阅读(4056) 评论(0) 推荐(0) 编辑