Custom Event in DataGridViewCell

Page 1 of 1

0 Replies - 552 Views - Last Post: 23 July 2009 - 10:57 AM Rate Topic: -----

#1 james2432  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 23-July 09

Custom Event in DataGridViewCell

Post icon  Posted 23 July 2009 - 10:57 AM

I've created a cell that inherits a DataGridViewTextBoxCell that essentially looks like a combobox but when the user clicks on the button it can do actions like shell a program or other stuff, when he clicks in the text field he can enter information.

Anyways to get to the point: I want to add a custom EventHandler to this cell(not really hard) the hard part is I don't know how to implement it so the event returns to the form and not the DataGridView/DataGridViewColumn. Do I have to add handlers in each to pass it to the form? Or should I make a listener in a seperate class?

Please help.

Is This A Good Question/Topic? 0
  • +

Page 1 of 1