单击后禁用数据网格中的按钮 [英] Disable a button in data grid after it is clicked

查看:56
本文介绍了单击后禁用数据网格中的按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用c#语言在Windows应用程序中工作。在我的应用程序中,我有一个数据网格,每个列标题都作为一个按钮。我想在单击一次时禁用该按钮,以便用户知道该列已经处理过,并且不再单击它,直到下一次点击。



我怎么能这样做,请帮帮我..

提前谢谢..

解决方案

设置 已启用属性 [ ^ ] to false

I am working in Windows application using c# language. In my application, I have a data grid with each column header as a button.I want to disable the button when it is clicked once, so that the user gets to know that column has been processed already and does not click it again, until the next click.

how can i do this, please help me..
thanks in advance..

解决方案

Set the Enabled property[^] to false.


这篇关于单击后禁用数据网格中的按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆