表格布局面板 [英] Table Layout Panel
本文介绍了表格布局面板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,
看起来应该很简单-在
的双击事件中
tablelayoutpanel,我想知道双击哪个单元格.我不能
看到任何与此相关的属性,有人可以给我
指针在哪里看?
谢谢!
Hello,
This seems like it should be simple - on the double-click event of a
tablelayoutpanel, I want to know which cell was double clicked in. I can''t
see any of the properties that look relevant to this, could someone give me
a pointer where to look?
Thanks!
推荐答案
建议类似的问题和解决方法 ^ ].
Similar question and resolution suggested here[^].
嗨Sujeet,
双击tablelayoutpanel表示您正在单击整个控件,因此无法获取行和列.
我不知道您要如何处理tablelayoutpanel,但是在单元格绘制事件中,您可以使用e.row和e.column获得行和列.
Hi Sujeet,
Double click on tablelayoutpanel means you are clicking on whole control so you are unable to get rows and columns.
I dont konw what is your task to do with tablelayoutpanel but on cell paint event you can get row and column with e.row and e.column.
这篇关于表格布局面板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文