与datagridview中的组合框关联的事件 [英] Event Associated with combobox in datagridview

查看:78
本文介绍了与datagridview中的组合框关联的事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

海...

在我的项目中,我有一个datagridview,并且我已将第一列的列样式更改为datagridviewcombobox.单击组合框的箭头时,我想打开一个新表单.哪个事件与此相关?先生,请帮帮我.


谢谢
Sujith

Hai...

In my project i have one datagridview,and i have changed column style of first column to datagridviewcombobox. I want to open a new form when i click arrow of combobox.Which event is associated with this? Please help me sir.


With Thanks
Sujith

推荐答案

我认为您需要查看 ^ ],因为正常" DataGridViewComboBoxCell不会暴露任何事件...
I think you need to look at the DataGridViewComboBoxEditingControl[^] as the "normal" DataGridViewComboBoxCell does not expose any events...


在DataGridViewComboBoxEditingControl中更深入地查看,然后在其Control成员上浏览,您会发现comboBox实例.现在,您可以执行所有操作:添加eventHandler,查找属性/字段
look deeper in DataGridViewComboBoxEditingControl, then browser on its Control member, you''ll find out comboBox instances. Now, you can do everything: Add eventHandler, look for properties/fields


这篇关于与datagridview中的组合框关联的事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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