2016年6月30日

摘要: 国际惯例,先上图: 整体效果、操作风格等 与Chrome 保持高度接近,实现了标签新增、删除、移动、自适应宽度等特性。 核心代码,1:创建Tab 页边框: 2:绘制图标, 标签的图标有两种,一种为静态,一种为动态图,比如当状态为Loading 时,则显示动态图,之前考虑过使用GIF,效果不太理想,所 阅读全文
posted @ 2016-06-30 16:12 yu.恒 阅读(3396) 评论(5) 推荐(13) 编辑

2015年4月2日

摘要: public class StaticUnitParameter1 : StaticUnitType { public List staticUnitProcItem { get; set; } public StaticUnitParameter1() ... 阅读全文
posted @ 2015-04-02 16:56 yu.恒 阅读(487) 评论(0) 推荐(0) 编辑

2015年3月19日

摘要: 1.设置EditingMode = EditFormInplace2.设置NewItemRowPosition = Bottom3.如果使用“新增”按钮,需要设置gridView1.FocusedRowHandle = -2147483647; 阅读全文
posted @ 2015-03-19 11:24 yu.恒 阅读(547) 评论(0) 推荐(0) 编辑

2014年6月5日

摘要: 1、Controller 类名必须以Controller 结尾2、访问Controller时, 必须去掉Controller,比如 :访问ChatTestController 中的Action:http://xxx.com/api/ChatTest/actionA 阅读全文
posted @ 2014-06-05 11:26 yu.恒 阅读(477) 评论(0) 推荐(0) 编辑
摘要: 按照正常的写法,总是出现404错误,研究了很久,在这里找到了解决方案:http://buxuxiao.com/article/using-jquery-to-post-frombody-parameters-to-web-api现在总结一下,单个参数的情况下:1、后台参数正确的写法如下: ... 阅读全文
posted @ 2014-06-05 11:19 yu.恒 阅读(452) 评论(0) 推荐(0) 编辑

2014年5月27日

摘要: 设置 bar 的 optionsBar.UseWholeRow = True然后可设置Bar 中 Item的右对齐属性。 阅读全文
posted @ 2014-05-27 22:32 yu.恒 阅读(213) 评论(0) 推荐(0) 编辑

2013年3月18日

摘要: 1.DocumentManager与XtraTabbedMdiManager 均可以实现以多标签的方式显示多个子窗口, 但DocumentManager可以实现停靠功能.2.在DocumentManager的Tab标签上显示窗口的图标: documentManager1.View.DocumentP... 阅读全文
posted @ 2013-03-18 12:48 yu.恒 阅读(448) 评论(0) 推荐(0) 编辑

导航