摘要: ① 取得或者修改当前单元格的内容 ② 设定单元格只读 ③ 不显示最下面的新行 ④ 判断新增行 ⑤ 行的用户删除操作的自定义 ⑥ 行、列的隐藏和删除 ⑦ 禁止列或者行的Resize ⑧ 列宽和行高以及列头的高度和行头的宽度的自动调整 ⑨ 冻结列或行 ⑩ 列顺序的调整 ⑪... 阅读全文
posted @ 2010-04-20 16:28 马建康 阅读(569) 评论(0) 推荐(0)
摘要: #region 在当前控件集中查找ToolStripButton private static ToolStripButton FindToolStripButton(Form owner, string controlId) { ToolStripButton result; result = null; foreach (Control ctl in owner.Controls) { if ... 阅读全文
posted @ 2010-04-20 12:37 马建康 阅读(831) 评论(0) 推荐(0)