随笔分类 -  WinForm

摘要:This article provides an overview of the VS.NET 2005 Design-Time Integration Support. The article highlights the .NET design-time architecture and discusses the design-time attributes and the various design-time components in details with reference to the web controls. The article also lists the reference and the namespaces required for adding design-time support to your projects. 阅读全文

posted @ 2007-03-16 23:07 Adrian H. 阅读(1291) 评论(0) 推荐(0)

摘要:CodeProject上的一个玻璃按钮的实现, 效果非常棒 阅读全文

posted @ 2007-02-22 20:22 Adrian H. 阅读(1174) 评论(1) 推荐(0)

摘要:要给自定义控件加上自定义的设计器, 首先得写个Designer类, 比如下面的StackPanelDesigner: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Collections.Gener... 阅读全文

posted @ 2007-01-25 13:55 Adrian H. 阅读(1074) 评论(0) 推荐(0)

摘要:本想做成像Windows我的电脑左栏一样的效果, 但最终没有实现Control的透明度变化效果, 不过还是实现了收缩和展开的动画效果, 这个控件多处可以自定义样式... 应该还有点意思吧.截图, 各种自定义样式:可以修改的属性: 不过这个控件现在还有些问题, 动画动作还有些小问题, 控件缺乏设计时的支持, 只能在代码中对Panel添加LinkLabel.. 再改改吧.. 阅读全文

posted @ 2006-09-23 10:27 Adrian H. 阅读(529) 评论(1) 推荐(0)

摘要:所谓"水印文本框", 就是不输入文本的时候显示默认的提示文本(水印)的文本框...Atlas Control Toolkit里也有这样的一个Extender, 不过这个是WinForm下用的.. 源代码下载截图:控件还有个问题, 就是在Design Time修改WatermarkText, Form Editor里的控件水印文本不会发生变化, 我Google了半天也没找到解决的方法.. 希望大家赐... 阅读全文

posted @ 2006-09-21 16:53 Adrian H. 阅读(708) 评论(0) 推荐(0)