2008年11月5日

c# winForm TableLayoutPanel学习 合并行的布局及动态增加删除内部控件

摘要: 先通过在IDE中拉出这样的效果图 以学习相关属性 上面效果的相关代码 Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#region Windows 窗体设计器生成的代码 /// /// 设计器支持所... 阅读全文

posted @ 2008-11-05 14:29 freeliver54 阅读(53120) 评论(3) 推荐(3)

C# WinForm 使用FlowLayoutPanel控件做为导航菜单按钮的容器

摘要: 实现效果: 将FlowLayoutPanel做为导航菜单按钮的容器 以实现 某个菜单按钮不显示时 整体的导航菜单布局不至于"缺憾" 原导航菜单为 button1 button2 button3 当button2不显示时 导航菜单自动变为 button1 button3 而不是 button1 空位 button2 如果以Panel做容器 则实现不了如上效果 再有 以FlowLayoutPan... 阅读全文

posted @ 2008-11-05 13:38 freeliver54 阅读(8007) 评论(0) 推荐(0)

[转]C# WinForm 绘制圆角窗体

摘要: 本文转自:http://blog.csdn.net/Terry001/archive/2008/05/01/2352511.aspx public void SetWindowRegion() { System.Drawing.Drawing2D.GraphicsPath FormPath; FormPath = new Syste... 阅读全文

posted @ 2008-11-05 10:48 freeliver54 阅读(1077) 评论(1) 推荐(0)

导航