会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
haiyantai
导航
博客园
首页
新随笔
联系
订阅
管理
公告
2012年5月1日
WPF+WCF构建的一个聊天室
摘要: 前段时间,闲着无聊,想着就随便写了个聊天室,勉强实现基本功能。用的是WPF+WCF 。下面是截图:
阅读全文
posted @ 2012-05-01 13:58 haiyantai
阅读(670)
评论(3)
推荐(0)
2012年2月25日
WCF学习第一课
摘要: 刚接触WCF,看了artech的WCF学习之旅(1),照着操作了一次,在进行IIS寄宿时,开始始终不成功。在完成之时写下这篇笔记。 首先编写契约(Contract),代码如下: using System.ServiceModel;namespace xiaohai.WCFService.Cont...
阅读全文
posted @ 2012-02-25 12:44 haiyantai
阅读(2563)
评论(0)
推荐(0)
2011年9月25日
WPF示例 :简单的文本编辑Demo
摘要: 下面是思路图: 再来效果图:
阅读全文
posted @ 2011-09-25 20:42 haiyantai
阅读(448)
评论(0)
推荐(0)
2011年9月17日
WPF学习笔记(八) 仿扫雷游戏
摘要: 先来截图: 由许多个自定义的canvas的小砖块组成,但其中的雷的随机位置没有解决。部分功能没有完善。 下面是主要代码.分享一下: using System;using System.Windows;using System.Windows.Media;using System.Windo...
阅读全文
posted @ 2011-09-17 16:56 haiyantai
阅读(793)
评论(0)
推荐(0)
WPF学习笔记(七)面板
摘要: 很长一段时间不想学习WPF了,每次开电脑就停留在网页上。不说废话了。。。。。。。 先来一张截图: 这是面板布局中的基本步骤,如果要自定义面板的话,一般选择直接继承自Panel,然后只需重载Messure,Arrange就行。 下面是我的一个示例: 截图: 是一个将控件围绕中心排列的自定义面板,...
阅读全文
posted @ 2011-09-17 16:36 haiyantai
阅读(432)
评论(0)
推荐(0)
2011年8月28日
WPF做截图程序的经历
摘要: 在博客园逛的时候,看见了周银辉博客上的一个截图程序(http://www.cnblogs.com/zhouyinhui/archive/2010/08/20/1804762.html)。自己心动也想写一个,经历了痛苦才勉强完成了一个半成品,只感觉自己太渺小了。有太多需要学的东西。更何况每天都有新的...
阅读全文
posted @ 2011-08-28 19:51 haiyantai
阅读(4359)
评论(5)
推荐(0)
2011年8月27日
WPF 学习笔记 Areo玻璃效果的接触
摘要: 在WPF中使用Areo玻璃效果: 首先定义结构体Margins public struct Margins{ public int left; public int right; public int top; public int bottom; public Margins(thicknes...
阅读全文
posted @ 2011-08-27 15:16 haiyantai
阅读(515)
评论(0)
推荐(0)
2011年8月26日
WPF学习笔记(六)
摘要: Inline对象的继承树如下: Object--DispatcherObject--DependencyObject--ContentElement--FrameworkContentElement--TextElement--Inline--Run Span---Italic . Bold..H...
阅读全文
posted @ 2011-08-26 14:54 haiyantai
阅读(456)
评论(0)
推荐(0)
WPF示例: 简单模拟Windows资源管理器
摘要: 现附上主要代码: using System;using System.Windows;using System.Windows.Media;using System.Windows.Media.Imaging;using System.Windows.Input;using System.Win...
阅读全文
posted @ 2011-08-26 09:58 haiyantai
阅读(3644)
评论(3)
推荐(3)
2011年8月23日
WPF学习笔记(五)Brush
摘要: 画刷是WPF中最常用的对象之一,主要在System.Windows.Media命名空间内,Brush的继承树为 object---dispatchobject----dependencyObject---Freezable---Animatable---Brush---GradientBrush...
阅读全文
posted @ 2011-08-23 16:24 haiyantai
阅读(2179)
评论(0)
推荐(0)
下一页